You are here

Flash Checksum | Cypress Semiconductor

Flash Checksum

Summary: 1 Reply, Latest post by BMAH on 03 Mar 2016 01:14 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
david.pilcher_1514011's picture
20 posts


When the ProC4 is flashed, is the flash image CRC stored anywhere in flash/sflash etc. by default?

I have the programming specification for this which shows it is in the hex file and how to calculate if programming, but I'm not seeing that it's stored on the device anywhere at programming. Is this correct?

I guess I could add the checksum to sflash or similar, but if it's readable somewhere, that would be great.

Thanks, Dave

BMAH's picture
Cypress Employee
189 posts

Hi David,
Yes, Checksum as such is not stored in memory. It is a part of Hex File. In the Hex file, 0x9030 0000  is used for storing checksum.

For e.g., :0200000490303A

0C3F being the checkusm.

Alternatively, in your code you can sum up all flash elements to compute the checksum.

Log in to post new comments.