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.

RM57L843: About error forcing test and error forcing fault injection

Part Number: RM57L843
Other Parts Discussed in Thread: HALCOGEN

Hi,

About error forcing test/error forcing fault injection and ESM handler on RM57Lx device, I have some confusion. Can you help answer the below three questions please?

  • Hi,

    I will check the SDL, and come back to you tonight.

  • As I said that the SRAM_ECC_ERROR_FORCING_xBIT and SRAM_ECC_xBIT_FAULT_INJECTION use the same test mechanism. In SDL, the Fault Inject test triggers the ESM interrupt then esm callback function if the ESM error occur. For self test option (not fault injection option), the polling mod is used to check the SRAM status register and ESM flag (ESM EPC). 

    You can enable the ESM interrupt for Self-Test option. But the flag of ESM 1.4 (EPC) may be set by either correctable ECC error in Flash or correctable ECC error in SRAM.

  • Hi QJ,

    Thanks for your clarification.

    How to enable the ESM interrupt for self-test option?

    Do you mean we can use "SL_FLAG_CLEAR" to enable ESM interrupt and use "SL_FLAG_SET" to disable ESM interrupt for self-test option in our application program?

  • For ESM group 1, you can enable the interrupt using HALCoGen: