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: BCR Configuration CRC-32 calculation

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I am developing the code for programming the MSPM0L device, the NONMAIN region. I have a question - how is calculated the default value of the BOOTCRC register(0xFCFA9803) of the BCR configuration region(0x41C0_0000 - 0x41C0_0053)? I have read from the device the data from the address 0x41C0_0000 to 0x41C0_005 MSB first as:

FF FF CC DD FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF 59 59 FF FF BB AA BB AA FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF

Or the same data as LSB first as :

DD CC FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF 59 59 AA BB AA BB FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF

I am using the CRC calculation webpage for calculate the CRC32 value. But with the readed data above I am not able to calculate the value 0xFCFA9803.Am i doing something wrong? Or the default data value 0xFCFA9803 is not calculacted from addresses 0x41C0_0000 - 0x41C0_0053?

Best regards,

Tomas

  • Hi Tomas,

    I don't recommend trying to rewrite the non-main on pre-production silicon, as improper configuration can lock you from the device. The non-main sections are also changed on production silicon as it provides more options for the configuration (you can see the new non-main information on the MSPM0L TRM). We also provide a non-main sysconfig module for the production silicon to assist in this process.

    Onto the value of the CRC, it is CRC-32 xor'd with F's. A more extensive calculator for CRC can be found on https://crccalc.com/ . The data will be with the LSB first, if you input the LSB first into the calculator you can see it is the CRC-32/JAMCRC version.

    Regards,

    Luke