This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to find the checksum number in hex file of the ccsv5

Other Parts Discussed in Thread: MSP430F2274

 We need some information regarding software checksum calculation and verification and display on LCD etc.. in one of our MSP430 based project(MSP4302252 and MSP430F2274) using the code composer studio V5.0.

 we find the software  Elprotronic FET-Pro430 Lite program (free)  using this we seen the checksum number. 
But how can we Find the checksum number in the hex file and how to display the checksum on the LCD

Please advise us to implement the same.


Regards
Pavani E
  • The Intel-hex file format does can contain a checksum, but it is the checksum of the file, not the data contents.

    In the past, we have used a proprietary internal tool that calculates a checksum over the entire image, minus the location for storing the checksum, and then add the checksum at the storage location.

    Then, the program itself can self-compute the checksum over the FLASH region and compare to the stored value.

    On the MSP430, you could store the checksum into an INFO region instead.

**Attention** This is a public forum