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

Perform ROM verification using Checksum

Posted: 21 Oct 2011     Print Version  Bookmark and Share

Keywords:ROM  MCU  Flash Development Toolkit 

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 SUM value in the program ROM 1 area, and ascertain if an anomaly has occurred.

In this application note, the Flash Development Toolkit (hereinafter FDT) is used to calculate the SUM value. Use the FDT to calculate the checksum 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 calculate the SUM value of the data read. Ascertain if the SUM value in the program ROM 1 area and the checksum 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 Checksum During Self-Test on MCU Start-Up".

Comment on "Perform ROM verification using Check..."
*  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