Checksum of FLASH in Codewarrior 6.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Checksum of FLASH in Codewarrior 6.3

2,579 Views
TranceAddict
Contributor I
Hi,
I am developing a safety critical application where the contents of FLASH must be checksummed before execution can begin. I have found reference in a few documents about using a checksum command in the linker configuration, but can't find any reference to that in my current Codewarrior 6.3 for Coldfire documentation. Does this option still exist and if so, how does one use it. If not, is there an easy alternative method to calculate the checksum and store in in the s19 record such that it checked at runtime?

Thanks!
Labels (1)
0 Kudos
5 Replies

507 Views
J2MEJediMaster
Specialist I
I looked through the 6.3 manuals and yes, the information on a checksum is pretty sparse. I'm trying to find out more.

---Tom
0 Kudos

507 Views
TranceAddict
Contributor I
Hi Tom,
Did you get anywhere with finding out how to calculate the checksum?
Thanks,
Matt
0 Kudos

507 Views
sjmelnikoff
Contributor III
Matt,
 
If you haven't already looked into this, you might want to consider writing your own utility to read the s-record file and insert a CRC into it directly. You can then run this utility as a post-link step.
 
Steve.
0 Kudos

507 Views
Nouchi
Senior Contributor II
Hi,


Or you can do that in the host bootloader side, if you use one

Emmanuel

Message Edited by BugMan on 2007-02-1210:44 AM

0 Kudos

507 Views
sjmelnikoff
Contributor III
Yes - unless you also want to verify that the file you've just downloaded is valid.
 
Steve.
0 Kudos