Hello,
I'm working with the Safety Diagnostic Library 2.2.0 and I'm using the "TMS570LS3137_NoOS" demo app. I have 2 questions:
1) At line 614 of app_main_NoOS.c the following test is executed:
retVal = SL_SelfTest_Flash(FLASH_ECC_TEST_MODE_2BIT_FAULT_INJECT, TRUE, &failInfoFlash);
From this test (because it's a Fault Injection test) I would expect the generation of an interrupt handled with a callback of the ESM module (in the file esm_application_callback.c) but this doesn't happen.
Same thing goes for this other test that I tried to add to the demo app:
retVal = SL_SelfTest_Flash(FLASH_ADDRESS_ECC_FAULT_INJECT, TRUE, &failInfoFlash);
Is this normal?
2) At line 441 of app_main_NoOS.c the following test is executed:
retVal = SL_SelfTest_SRAM(SRAM_PAR_ADDR_CTRL_SELF_TEST, TRUE, &failInfoTCMRAM);
This test, even if it is a Self-Test, generates an interrupt served by the callback of the ESM module (in the file esm_application_callback.c) but actually it is not handled and considerated unknowncallback. Should I handle the situation in the same way in my project?
Thank you in advance. Regards,
Dimitri