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.

TMS570LC4357-EP: ESM errors - how do they map?

Part Number: TMS570LC4357-EP
Other Parts Discussed in Thread: HALCOGEN

I find the ESM section of the TMS570LC4537 technical reference to be confusing

--->  Where are the mappings of each status bit to the type of error?   Especially groups 2 & 3.  (I think group 1 errors are indicated in HALCOGEN, but it must be in the docs somewhere too.)

Regards,

Mark

  • Hi,

     Please refer to the device datasheet for the mapping. 0x8 on ESM group 2 means you are having an ECC error. 

    To clear the error pin and the ESM flag you can write the below instructions. 

    esmREG->SR1[1U] = 0x8U; // Clear the flag
    esmREG->SSR2 = 0x8U;
    esmREG->EKR = 0xAU; // Clear the error pin
    esmREG->EKR = 0x5U; // Clear the error pin
    esmREG->EKR = 0x0U; // Error Key back to reset value