Other Parts Discussed in Thread: HALCOGEN,
Tool/software: Code Composer Studio
Hello
when I was Debug,sys_start up.
if ((esmREG->SR1[2]) != 0U)
{
}
esmREG->SR1[2]) =8;
Is it because of debug mode?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello
when I was Debug,sys_start up.
if ((esmREG->SR1[2]) != 0U)
{
}
esmREG->SR1[2]) =8;
Is it because of debug mode?
Hello Whong,
This instruction is to 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.
esmREG->SR1[2]) =8 --> RAM even bank (B0TCM) - ECC uncorrectable error
Can you power cycle the board to run the code again to check if you will get the same error? or you can clear the ESM status registers manually and clear the nERROR signal (please follow the steps in TRM), then re-run the code again.
Hello
I found that code "resetReason = SL_Init_ResetReason()";
the resetReason is RESET_TYPE_DEBUG .is this correct?
I already have turned off power
Please refer to Table 2-8 for Reset sources.
If the WDRST bit in SYSESR is set,and the bit 1 of DWD status register is not set, the reset source is Icepick debug.
The safety library doesn't have problem. Did you enable the RAM ECC in startup function? By default, on TMS570LS0432, the ECC is disabled.
yes I do enable the RAM ECC in the hal software.The entire code is the same as the security library
And also changed various boards.I wonder if there is any configuration missing or some setting.I dont do.
always:
esmREG->SR1[2] =8
Hello
Do you have a hardware platform there, can you try it?
I have no solution
Thank you
Hello Whong,
I just run a test on LS0432 launchpad using the demo code in SafeTI Library 2.4 folder, and there is no problem.
The zip file you posted is empty.