Hello,
on one of our devices I am getting the ESM group 3 error. I am using HalCoGen startup code and the program stops cycling at
/* 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]) { /* USER CODE BEGIN (20) */ /* USER CODE END */ while(1); }
The value of ESTATUS1[2], which is mapped to esm Stat3 register, is 0x8.
Sometimes the code falls into dabort
ramErrorReal b ramErrorReal ; branch here forever as continuing operation is not recommended
I can not find any error code definition for the 0x8 value. I susspected that the Flash is gone as we were using the device for intensive development. But there is no error in FEdacStat at address 0xFFF8701C.
Will you please help me with finging what went wrong?
Thank you, Michal.