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.

RM57L843: Safety and Diagnostice library v 2.40 Issue

Part Number: RM57L843
Other Parts Discussed in Thread: HALCOGEN, , NOWECC

Hello,
I have added the safe Ti diagnostics library 2.4.0 as the procedure mentioned in the example of HALCOGEN 4.07.01,
Some tests are getting pass and some tests are getting fail,
Like,
1. EFuse Test is Getting stuck on EFUSE_SELF_TEST_STUCK_AT_ZERO, the following API produces negative result and stuck into while(1) loop
/* Run Stuck At Zero Test (param2=TRUE - Wait for complete) */
retVal = SL_SelfTest_EFuse(EFUSE_SELF_TEST_STUCK_AT_ZERO, TRUE, &config);
if(retVal == false){while(1);}Code
2. L2RAM ECC Check Enable is getting stuck on SRAM_ECC_ERROR_FORCING_1BIT, the following API produces negative result and stuck into while(1) loop
boolean retVal;
SL_SelfTest_Result result;
retVal = SL_SelfTest_SRAM(SRAM_ECC_ERROR_FORCING_1BIT, TRUE, &result);
if(retVal == false){while(1);}Code
3. Flash ECC check enable is getting stuck on SRAM_ECC_ERROR_FORCING_1BIT, the following API produces negative result and stuck into while(1) loop
boolean retVal;
SL_SelfTest_Result result;
/* Flash test needs to be run from a RAM location. Copy flash test to RAM */
uint32 i;
uint32 size=(uint32)&ulHighHandlerSize;
for(i=0;i<size;i++)
{
((char *)&ulHighHandlerStartAddr)[i] =((char...Code
4. Peripheral ECC check enable is getting stuck on XXX_ECC_ERROR_FORCING_1BIT, the following API produces negative result and stuck into while(1) loop
if(SL_SelfTest_CAN(CAN_ECC_TEST_MODE_1BIT, SL_DCAN1) == false)
{
while(1);
}
if(SL_SelfTest_CAN(CAN_ECC_TEST_MODE_2BIT, SL_DCAN1) == false)
{
while(1);
}
if(SL_SelfTest_CAN(CAN_ECC_TEST_MODE_1BIT, SL_DCAN2) == false)
{
while(1); ...Code
5. CCMR5TEST ENABLE is getting stuck on CCMR5F_CPUCOMP_SELF_TEST, the following API produces negative result and stuck into while(1) loop,
boolean retVal;
SL_CCMR5F_FailInfo failInfo;
retVal = SL_SelfTest_CCMR5F(CCMR5F_CPUCOMP_SELF_TEST, TRUE, &failInfo);
if(retVal == false){while(1);}
if(failInfo.stResult != ST_PASS)
{
while(1);
}
Code
6. STC ENABLE is getting stuck on STC1_COMPARE_SELFCHECK, the following API produces negative result and stuck into while(1) loop,
SL_STC_Config stcSelfTestConfig;
boolean bResult;
stcSelfTestConfig.stcClockDiv = 2; /* STC Clock divider = 1 */
stcSelfTestConfig.intervalCount = 1; /* One interval only */
stcSelfTestConfig.restartInterval0 = TRUE; /* Start from interval 0...Code
Other API is getting pass like SL_SelfTest_PBIST for RAM, ROM, VIM,
Please suggest me the solution,
Thank you,
Vikas N.