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: About the esm.

Part Number: TMS570LS3137


Hello

 Team

 I enable the esm interrupt in vim.and I select  some esm channel .

What will cause the selected interrupt?where can I find in some paper?

 errrom single: dose it related the function SL_Init_ECCFlash(10, FLASHECC_DEFAULT),10 times one bit errors cause this interrupt??

                      “FLASHECC_DEFAULT” What does it mean?I use the ccs Automatically generate ecc,so this FLASHECC_DEFAULT is it right or not?

                        

errrom double:....

RAM ecc even

....

..

  • Hello Whong,

    The ESM module has error flags for each error channel. Once an error occurs, the ESM module will set the corresponding error flags. In addition, it can trigger an interrupt if the interrupt is enabled.

    Group1 errors have a configurable interrupt response: enabled or disabled; high priority or low priority. 

    If one bit ECC error in flash is detected, the ESM1.6 is set, and ESM interrupt will be generated if the interrupt and event are enabled. Pease read the table of ESM Channels assignment in Datasheet.

    whong zhao said:

    errrom single: dose it related the function SL_Init_ECCFlash(10, FLASHECC_DEFAULT),10 times one bit errors cause this interrupt??

                          “FLASHECC_DEFAULT” What does it mean?I use the ccs Automatically generate ecc,so this FLASHECC_DEFAULT is it right or not?

    FLASHECC_DEFAULT is equal to 0x(0x3 << 9) which is to enable the EOFEN and EZFEN in FEDACCTRL1 register. When either the EOFEN or the EZFEN bit is set, an error event will be generated on ESM group 1 channel 6 when any correctable error is generated by reading the main memory.

    10 is the Single Error Correction Threshold. When error profiling is enabled (bit 8 of FEDACCTRL1 register), the correctable error event will not be generated (ESMgroup 1, channel 6) until the error reaches this threshold value. A threshold of zero disables the threshold so that it does not generate an event.

    FLASHECC_DEFAULT is not related how the ECC is generated and programmed to flash.

  • Thank you very much