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.
Tool/software: Code Composer Studio
hi,
im using CCS ver8, i want to calculate the Checksum for the hex file. i refered crc.h module from the driver library, but i want to know is there any facility available in the CCS (from the IDE side) to calculate the checksum of the hex file without writing code.
The linker can generate CRCs on a per-section basis. This is described in "Assembly Language Tools" (SLAU131U) Sec 8.9. CRC-checking the interrupt vectors is a bit cumbersome (albeit important) since each interrupt vector is a separate section.
The run-time code is discussed in App Note "CRC Implementation with MSP430" (SLAA221A). There is sample code (via a link on the first page of the .PDF) you can extract from.
[Edit: Another bit of reading material:]
**Attention** This is a public forum