Go to advanced search

by fcarlier
Sun Nov 25, 2012 11:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

effectively ;)

I tested tomorrow
by fcarlier
Sun Nov 25, 2012 9:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

joan wrote:It sort of works. If you use minicom you have to send a newline (ctrl J) to get fgets to return.
YES YES It's OK now :)

In the file, two fgets !!

CTRL+J with minicom it's ok

it's possible to modified ttylog to run without ctrl+J ??

THX
Florent
by fcarlier
Mon Nov 19, 2012 2:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

no crash, just wait after "FCC2>" on fopen (fopen is between printf FCC2/FCC3)
by fcarlier
Mon Nov 19, 2012 2:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

I use minicom on DELL Ubuntu for send caracter.

My ttylog is always blocked on fopen(modem_device...

I tested CTRL+J on minicom but it's identical.

C-U
Florent
by fcarlier
Fri Nov 16, 2012 5:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

Hi,

I test on Python language with miniterm.py : OK

I test on Shell command : (stty raw; cat > serial.log) < /dev/ttyAMA0 : OK

Have you an program tested for C language ??

Can you test the ttylog.c ????

Big Help and Big THX
Florent
by fcarlier
Thu Nov 15, 2012 4:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

I paste my Makefile and ttylog.c
http://zerobin.handismart.fr/?f2381faff ... blQDZieX0=
I invite you to compile my program and tested ;)

THX
by fcarlier
Tue Nov 13, 2012 12:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

Hi, @joan > my serial.log file is empty @tedhale > i apply modified on /boot/cmdline.txt and T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 but my ttylog block always on logfile = fopen(modem_device, "rb"); no probleme with open but segment fault after ;) how can i display to look to /d...
by fcarlier
Mon Nov 12, 2012 7:56 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

@joan > tomorrow, i test !!

@tedhale > oups
i comment only this line :
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

i forgot /boot/cmdline.txt, i also tested

Thank you
by fcarlier
Mon Nov 12, 2012 5:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Re: Serial & C Programming

I'm used minicom just for testing the communication between 2 units (RaspBerry Pi and PC Dell).

Now I want testing ttylog because i want little software for logging my serial port into log file.
(I want compile myself the different source with gcc)

THX
Florent
by fcarlier
Mon Nov 12, 2012 4:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial & C Programming
Replies: 17
Views: 4971

Serial & C Programming

Hello, I want use the serial port on ttyAMA0. I connect with none problem Raspberry and Dell Ubuntu with minicom for communication. Now, i want use ttylog (http://sourceforge.net/p/ttylog) i have a source and compile with makefile, but if i run ttylog, no connection problem with fopen(modem_device.....
by fcarlier
Sat Sep 08, 2012 10:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB I/O board??
Replies: 3
Views: 4329

Re: USB I/O board??

Hello,

I'm used a Pokey56U expander with 55 I/O in USB.
Image

I begin to write a python package.

Florent
by fcarlier
Thu Jun 28, 2012 9:05 am
Forum: Français
Topic: démarrer avec Clavier AZERTY
Replies: 3
Views: 29500

Re: démarrer avec Clavier AZERTY

Je vous invite à lire :
http://code-esperluette.blogspot.fr/201 ... o-sur.html

avec le point 4/ pour le clavier

Go to advanced search