Hello,
I have a trouble for "FMCBUS2 Error Check" code generated by HALCoGen (03.05.00) on TMS570LS3137.
Boot sequence stops under following conditions.
Could you teach me wheter it is correct behavior?
1. "FMCBUS2 Error Check" is enabled by checking "SAFETY INIT" -> "Self test Enable" -> "Enable FMCBUS2 Error Check".
Then, the "fmcBus2Check()" will be activated.
2. At initial condition, 0xFFFFF518 (esmREG->ESTATUS1[0U]) == 0x40U.
Therefore, at the top of "_c_int00" function, Correctable Error (ESM Group 1 Channel 6) occurs.
Then, the ESM flag is cleared by "esmREG->ESTATUS1[0U] = 0x40U" in sys_selftest.c and fmcECCcheck() is executed.
In fmcECCcheck() function, Correctable Error (ESM Group 1 Channel 6) will occur by "otpread = flash1bitError", however it is never occured.
Finally, fmcClass2Error() is executed and boot sequence stops, because "esmREG->ESTATUS1[0U] != 0x40U".
Why doesn't Correctable Error (ESM Group 1 Channel 6) occur?
Best Regards.
Nomoto