DebuggerHeldCoreLoop

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DebuggerHeldCoreLoop

1,588 次查看
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 项奖励
回复
3 回复数

1,569 次查看
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 项奖励
回复

1,556 次查看
zhiguoguo
Contributor I

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

zgguo@iflytek.com
标记 (1)
0 项奖励
回复

1,543 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @zhiguoguo,

I would recommend contacting IAR Systems.

 

Thanks,

Daniel

0 项奖励
回复