The initialization code from here http://focus.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=spna106a&docCategoryId=1&familyId=1870 suggests the following:
/* Check if there were ESM group3 errors during power-up.
* These could occur during eFuse auto-load or during reads from flash OTP
* during power-up. Device operation is not reliable and not recommended
* in this case.
* An ESM group3 error only drives the nERROR pin low. An external circuit
* that monitors the nERROR pin must take the appropriate action to ensure that
* the system is placed in a safe state, as determined by the application.
*/
if (esmREG->ESTATUS1[2])
{
while(1);
}
Could someone clarify the following?
- ESM G3 contains other error bits - at least RAM ECC errors. Should they be masked out for auto load check?
- After PORST RAM/Flash ECC error detection is disabled. Is it still possible that OTP ECC errors could set ESM bits?
- Does eFuse auto load happen each reset (DWD, SW, nRST) or only during PORST?
Thanks,
Eugene