This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CRC check on serial comm to redboot
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Magnus Ekhall <koma at lysator dot liu dot se>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 4 Feb 2003 10:23:08 +0100
- Subject: Re: [ECOS] CRC check on serial comm to redboot
- References: <001801c2cc2a$d6d87d40$521d72d5@salamander>
On Tue, Feb 04, 2003 at 09:53:08AM +0100, Magnus Ekhall wrote:
> Does redboot perform some kind of error check, such as CRC, on the file
> received via TFTP?
Nope. It relies on the UDP checksums to ensure each packet is correct,
and a sequence number to ensure it gets each packet.
> I'm having problems when I use a serial cable to upload my elf-file to my
> target. I keep getting what seems to be random Illegal Instructions or
> Segfaults. Is it possible that an erroneous file transfer can cause this
> without redboot being able to notice it?
Im confused here. You say serial port, but was asking about TFTP
checksums?
One thing to check is your memory map. Are you sure you are not trying
to load the application into the same memory redboot is using?
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss