This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how use termios_lookup? some question
- From: harri dot siirtola at vtt dot fi
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 19 Mar 2002 10:19:35 +0200
- Subject: Re: [ECOS] how use termios_lookup? some question
>...
>And, My program is transfering between PC to ARM board(customized).
>ARM board is missing some data(not all data) which received binary data(raw
>data of image) from PC.
Which processor are you using? If it's Atmel AT91xxx, data is surely
dropped as there's no fifo in the UART. I don't know if termios can use
interrupt driven comms but even with that, the current Atmel ports are broken.
>following source is termios setting.
>
>-----------------------------------------
> newtio.c_cflag =3D (BAUDRATE | CS8 | CLOCAL | CREAD);
If your baudrate is above 19200, you can't count on polled mode to keep up.
Harri
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss