This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]