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.

MSPM0L1306: ROM-CRC calculation

Part Number: MSPM0L1306

Hi Team,

Could you please help me understand how to calculate the ROM with CRC? I referred to the example code from the SDK where we are sending three data points and checking the CRC, but I want to check the Flash memory start and end addresses. How can I do this? Could you please share any references?

  • Hello Santhosh,

    The CRC is the most commonly used verification method in data communication which is used to check whether there is any error in the communication. So our SDK provides the CRC example code of sending data. Can you tell me what is your meaning of checking the Flash memory start and end addresses CRC?

    Best Regards,

    Janz Bai

  • Hello Janz,

    Thank you so much for the reply. If I want to check CRC in the 0x0000.0000 to 0x0000.FFF8 range, which marks the start and end of flash memory, how can I implement it.

    can you please help me regarding this.

  • Hello Santhosh,

    If you want to calculate the CRC value of Flash memory, you can read out the Flash data and calculate it according to the CRC16_CCITT or CRC32_ISO3309, because the CRC value won't be downloaded into Flash memory when you download code into Flash. Our M0 MCU just have ECC code in the Flash.

    And about the CRC, you can refer to the chapter 17 of MSPM0L series user guide which can be downloaded from ti.com.

    Best Regards,

    Janz Bai