[ECOS] RedBoot TFTP last block ack oddness

David Vrabel dvrabel@arcom.com
Thu Sep 8 15:19:00 GMT 2005


Hi,

RedBoot's TFTP client has two oddities when ack'ing the last data block.

1. It fails to ack the last data block when loading ELF images if
there's trailing data after the last section it loads (more correctly,
it fails to ack the first block it doesn't want).  For example, if an
image had a trailing .comment section.

2. Normally, two ack's are sent for the last block.  I'm thinking the
tftp_ack() in tftp_stream_close() is unnecessary?

Attached are some packet captures summaries showing this.

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: redboot-tftp-packets.txt
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20050908/6ca77438/attachment.txt>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list