Hi !
I have a RM48 HDK and I have run the demo the <SafeTI Diagnostic Library> provides
(C:\ti\Hercules\SafeTI Diagnostic Library\2.2.0\demo_app\HALCoGen\RM48L950_NoOS).
I want see some reaction , so I add the some sci debug info in the main function, it’s before the SL_ESM_Init(Callback).
1, When I run it with the emulator, sometimes it works well , this time the board will the sci debug info output normally, but sometimes it stop at sys_startup.c _c_int00()
if ((esmREG->SR1[2]) != 0U)
{
for(;;)
{
}/* Wait */
}
And this time the esmREG->SR1[2] will be 0x00000002 or 0x00000082.
This issue seems doesn’t have any regulation.
2, When I run it without emulator, I can’t see any output from sci, so I think maybe it stop at the same point. Cause the sci is unavailable, I tried to use the het led as a debug tool, unfortunately when I add hetInit() before the esmREG->SR1[2], the program abort at _excpt_vec_abort_pref().
ps: my other program without safety lib works well.