DebuggerHeldCoreLoop

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DebuggerHeldCoreLoop

1,584 Views
zhiguoguo
Contributor I

zhiguoguo_0-1661428796265.png

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

 

 

zgguo@iflytek.com
0 Kudos
Reply
3 Replies

1,565 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @zhiguoguo,

As you can see in the system.c file

danielmartynek_0-1661759096695.png

The RESET_CATCH_CORE variable can be overwritten by the debugger to 0x5A5A5A5A, which will catch the execution in that loop.

 

Regards,

Daniel

0 Kudos
Reply

1,552 Views
zhiguoguo
Contributor I

if I want to migrate project to IAR,what modify I need to this value?

zgguo@iflytek.com
Tags (1)
0 Kudos
Reply

1,539 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @zhiguoguo,

I would recommend contacting IAR Systems.

 

Thanks,

Daniel

0 Kudos
Reply