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.

TMS570LS3137: Uninitialized global variables RAM ECC

Part Number: TMS570LS3137

Dear team,

I saw the following in 7.95 Periodic Hardware CRC Check of SRAM Contents

The platform includes a hardware CRC implementing the ISO CRC-64 standard polynomial. The CRC module can be used to test the integrity of static contents in the SRAM by calculating a CRC for all static contents and comparing this value to a previously generated "golden" CRC.

So how to do CRC test of Uninitialized global variables in RAM?

  • Hello Susan,

    The value of uninitialized variable is indeterminate. The CRC of those variables on the RAM is not a good solution because the content of those variables will be changing dynamically. So you don't really know the golden signature to compare with.

    If the const global variables is linked to a specified data section (please refer to #pragma DATA_SECTION), you can calculate the CRC of this section in RAM.