To use own boot loader we post process the Codewarrior S file to remove S0 line and add a new S0 line with a global checksum information. Regards, Giuliano "t_karin1 < Per: om>" <tomerk Cc: Oggetto: [motoroladsp] DSP56807 bootloader / S-Record number of lines 06/01/03 10.10 Each S-Record line has a checksum at the end of it. So if error occur when sending that line, we can know about it. However, what if a whole line (or more then one line) is skipped and not transmitted, how can we know about it? In some of motorola CPU (360, 302 and maybe others) there is "S5" line at end, just before the "S7" line, which indicate the number of lines that exist in this S-Record. Is there a way the CodeWarrior can add such a line? What about adding a checksum or CRC for the entire file? so eventualy we will be able to know that the entire S-Record was received succesfuly. I wrote my own boot loader that handles retransmits by notifing when a line wasn't received succesfuly and wait for that line to be retransmitted, however if an entire S-Record line is not transmitted, there is no way for me to know it. How do other people that wrote their own bootloader handle this problem? Thanks Tomer _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/ |