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.

IWR1443: Reading out MSS image CRC

Part Number: IWR1443

Hello,

I wonder if it possible to read out the MSS image CRC, verified in the bootloader, from my MSS application without accessing the flash. I.e is the CRC available in RAM or any of the MCU registers?

Best Regards Honke

  • Hi Honke, 

    I am looking into this matter and will get back to you as soon as I can.

    Regards,

    Brennan

  • Honke, thank you for your patience.

    The bootloader doesn't save the CRC in any location, and will read it from the SFLASH and use it for further operations.  The CRC is stored in TCMB during bootloading, but is cleared just before control hand-off to the application.

    Regards,

    Brennan

  • Brennan,

    Thanks for your quick and clear reply, which unfortunately means I need to find some other way to verify that the application is authentic.


    Another alternative is to make a calculation of the software's checksum during the software linkage and add the calculated checksum to the generated application software binary, which then makes the checksum available to the application. It is a feature that IAR has in their linkers and we are using frequently in our other products. Can you tell if CCS has a similar feature? I have read about CRC generation in "ARM Assembly Language Tools - User Guide", under "Linker-Generated CRC Tables", but it feels quite complex, since the tool can only do CRC calculation on single object files. Is there no way to calculate the checksum on the complete software and add to the generated binary?

    BR,

    Honke

  • Hi Honke, 

    Unfortunately, CCS does not support a checksum calculation for the MSS core on the radar devices.

    Regards,

    Brennan