I am trying to understand the expected startup sequence of the safety library's demoapp (NoOS) for TMS570LS0432:
- When attempting to debug the app, the reset reason is returned as RESET_TYPE_DEBUG which seems to skip the SL_SelfTest_STC(STC_COMPARE_SELFCHECK,...)
- If the execution is restarted using the CPU reset buttons of CCS IDE, the reset reason is no longer RESET_TYPE_DEBUG and the self test function is called, leading to some exception handler. Trying to port the demoapp startup sequence to our project, I more specifically notice that the execution remains in an endless loop inside _SL_Kickoff_STC_execution().
I suppose that having a debugger connected messes up with the CPU reset and in that case the IDE restart buttons should not be used? Could you point me to a specific part of the documentation?