Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | RE: DSP56807 bootloader / S-Record number of lines

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

DSP56807 bootloader / S-Record number of lines - t_karin1 - Jan 6 9:10:00 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






(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

RE: DSP56807 bootloader / S-Record number of lines - Johnson, Jerry - Jan 7 15:12:00 2003

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

              &n bsp;               & nbsp;                                 ;               &nbs p;               &nb sp;               &n bsp;               & nbsp;        

              &n bsp;       "t_karin1             &nb sp;               &n bsp;               & nbsp;                                 ;               &nbs p;          

              &n bsp;       <tomerk@ceragon.c        Per:      m...@yahoogroups.com            &nb sp;               &n bsp;               & nbsp;     

              &n bsp;       om>" <tomerk             Cc:               &n bsp;               & nbsp;                                 ;               &nbs p;     

              &n bsp;               & nbsp;                Oggetto:  [motoroladsp] DSP56807 bootloader / S-Record number of lines                  

              &n bsp;       06/01/03 10.10                                 ;               &nbs p;               &nb sp;               &n bsp;               & nbsp;   

              &n bsp;               & nbsp;                                 ;               &nbs p;               &nb sp;               &n bsp;               & nbsp;        

              &n bsp;               & nbsp;                                 ;               &nbs p;               &nb sp;               &n bsp;               & nbsp;        

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

_____________________________________
/groups.php3



_____________________________________
/groups.php3
 



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


(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )