Forums

DSP56807 bootloader / S-Record number of lines

Started by t_karin1 January 6, 2003
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




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-----
From: g...@qem.it [mailto:g...@qem.it]
Sent: Tuesday, January 07, 2003 1:37 AM
To: "t__karin1 <t...@ceragon.com>"@qem.it
Cc: m...@yahoogroups.com
Subject: Rif: [motoroladsp] DSP56807 bootloader / S-Record number of
lines



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                                                                                                       

                      <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
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:  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/


_____________________________________
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:  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
________________________________________________________________________


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information visit http://www.messagelabs.com
________________________________________________________________________