MSPM0L1306: CRC calculation in combination with linker generated and store crc checksum in hex file, read CRC resul in C code

Part Number: MSPM0L1306

Tool/software:

Hi Support team:

I want to implement CRC calculation and store result in HEX file with updated .cmd file. Then read out CRC result in C code.

I change content in .cmd file, see red in first picture. The CRC content _flash_crc is in .map file, see red in second picture.

But _flash_crc does not have content in debug state, see third picture.

I reference chapter 10.9 of complier user manual. Is there other references? thanks

br

johnny