Part Number: RM44L520
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
I have started to work with the Hercules family device - RM44L520. I try to make a project, blinky, which will be working from RAM and blink with the LED connect to the N2HET1[0] pin. I made a HalCoGen project and create the new CCS project "giotest" and try to debug the device(on my own board) with the TI XDS200USB. When I start the debug the code I am not able to reach the main(void) procedure due to the program stuck in the infinite "for" cycle in the sys_startup.c file:
/* 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->SR1[2]) != 0U)
{
/* USER CODE BEGIN (24) */
/* USER CODE END */
/*SAFETYMCUSW 5 C MR:NA <APPROVED> "for(;;) can be removed by adding "# if 0" and "# endif" in the user codes above and below" */
/*SAFETYMCUSW 26 S MR:NA <APPROVED> "for(;;) can be removed by adding "# if 0" and "# endif" in the user codes above and below" */
/*SAFETYMCUSW 28 D MR:NA <APPROVED> "for(;;) can be removed by adding "# if 0" and "# endif" in the user codes above and below" */
for(;;)
{
}/* Wait */
/* USER CODE BEGIN (25) */
/* USER CODE END */
}
What is the reason of this ESM group3 error? I am attaching my blinky_from_RAM project to help solve my problem. I will be very grateful for any suggestions to solve my problem with code loading.
Regards,
Tomas

