Global Sources
EE Times-India
Stay in touch with EE Times India
EE Times-India > Memory/Storage

Perform ROM verification using CRC-CCITT

Posted: 20 Oct 2011     Print Version  Bookmark and Share

Keywords:ROM  MCU  code generator 

Here is a document that describes a method for diagnosing anomalies in the ROM. When starting up the M16C/60 Series and M16C/50 Series MCUs, read the CRC calculation in the program ROM 1 area, and ascertain if an anomaly has occurred.

In this application note, the CRC calculation result is output using the CRC code generator. Use the CRC code generator to calculate the CRC code for comparison in advance, and write the result to a data flash area. When the MCU starts up, sequentially read the data in the program ROM 1 area in 1B units from the start address (1) to the end address (FFFFFh). Then perform CRC calculation on the data read using the CRC-CCITT generator polynomial. Ascertain if the CRC calculation result in the program ROM 1 area and the CRC code for comparison prewritten to the data flash area match. If the values match, the program ROM 1 area is determined to be accurate. This document describes an example using the M16C/65 Group.

View the PDF document for more information.

Originally published by Renesas Electronics at as "ROM Verification Using CRC-CCITT During Self Test on MCU Start-Up".

Comment on "Perform ROM verification using CRC-C..."
*  You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.


Go to top             Connect on Facebook      Follow us on Twitter      Follow us on Orkut

Back to Top