Hello.
When I was learning S32DS Startup_cm7.s files, I encountered a problem. I can't understand the function shown in the picture above.
First :What is the function of DebuggerHeldCoreLoop?
Second: RESET_CATCH_CORE is an Random number or Specific number?
Three: Why compare R0 with 0x5A5A5A5A?
Expect to receive a reply.
thanks
Hi @zhiguoguo,
As you can see in the system.c file
The RESET_CATCH_CORE variable can be overwritten by the debugger to 0x5A5A5A5A, which will catch the execution in that loop.
Regards,
Daniel
if I want to migrate project to IAR,what modify I need to this value?