Keil Logo

GENERAL: GENERATING A ROM CHECKSUM


Information in this article applies to:

  • MDK-ARM All Versions
  • C51 All Versions
  • C166 All Versions
  • C251 All Versions

QUESTION

I need to validate the ROM in my microcontroller application at boot time. Is there any way to automatically generate a checksum of any kind in the code image that I could compare the actual code to?

ANSWER

Yes, we have application note 277 which explains how to generate and store a CRC checksum over one or several ROM areas using the srec_cat utility. It also provides several CRC32 implementations to calculate the CRC checksum during runtime for a one-time or periodic ROM self test. This application note is mainly written for ARM microcontrollers, but can also be applied for microcontroller architectures like 8051, 251 and 166.

SEE ALSO

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Thursday, December 6, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.