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 |
|
DSP56807 bootloader / S-Record number of lines
RE: [motoroladsp] DSP56807 bootloader / S-Record number of lines
In our case we send back to the sender a count of the number of lines we received. The user is then informed whether the number received matchs the number sent. If not, errors are flagged and the system will not run. -----Original Message-----
To use own boot loader we post process the Codewarrior S file
to remove S0
"t_karin1 <tomerk@ceragon.c Per: m...@yahoogroups.com 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
However, what if a whole line (or more then one line) is
skipped and
In some of motorola CPU (360, 302 and maybe others) there is
"S5"
I wrote my own boot loader that handles retransmits by
notifing when
How do other people that wrote their own bootloader handle
this
Thanks
_____________________________________
_____________________________________
To Join: m...@yahoogroups.com To Post: m...@yahoogroups.com To Leave: m...@yahoogroups.com Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3 " TARGET="_blank">http://docs.yahoo.com/info/terms/ _____________________________________
_____________________________________
To Join: m...@yahoogroups.com To Post: m...@yahoogroups.com To Leave: m...@yahoogroups.com Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3
" TARGET="_blank">http://docs.yahoo.com/info/terms/ ________________________________________________________________________
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information visit http://www.messagelabs.com ________________________________________________________________________ |