[ECOS] Big archives from serial port

Jani Monoses jani@iv.ro
Wed Jan 28 11:52:00 GMT 2004

> Hi all,
> 	I'm trying to download a binary archive of 64kb using
> serial port. my problem is that i lost some byte.
> 	The baudrate, the word lenght, the stop bit are ok,
> it seems to be all well configured.
> 	I try to sincronize the emiter and receiver but I
> can't receive the acknowleged amount of bytes.
> 	My system is a falcom F35-XXL and I tryed to do this
> with comlib and cyg_io calls. Anyone can help me??
> there is any method to do this?

bytes can be lost on serial, so you need some sort of protocol which
makes sure data gets transmitted unless you media is completely error
free. Look at how redboot does it in redboot/current/src/xyzmodem.c,
using the'standard' X/Ymodem protocols.

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list