We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
I have doubt in calculation check sum. currently in power on we r calculating checksum for code memory and verifying every cycle...but do we need to caclulate check sum for code memory before the the code is burn to chip...that is calculating check sum with HEX file and store in external Nonvolatile memory and verifying it while the system is power on....Any tools avaliable to calculate HEX file check sum??
Any tools avaliable to calculate HEX file check sum??
I use SRecord: http://srecord.sourceforge.net
Look for the srec_cat program. It can do many useful things, including adding a checksum to firmware image. By the way, standard CRC checksums have a convenient property: if you append a CRC to the image twice, the CRC of the resulting image is a known constant.
Regards, - mike