IMXRT1171 - cannot Debug into RAM.

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

IMXRT1171 - cannot Debug into RAM.

跳至解决方案
346 次查看
BrK_
Contributor III

Hi,

I am using SDK ram linker. I defined the macro XIP_BOOT_HEADER_ENABLE=0. But I cannot debug.

I created a new project from MCUxpresso, defined only the RAM memories, and checked the 'link application to RAM' option:

BrK__0-1717677929051.png

With this created project, I can debug via RAM.

I would replace the MEMORY definitions created by Xpresso with those of the SDK, but I still have not gotten any results.

What are the differences between the SDK and the project created by mcuxpresso? Why can't I debug RAM in my own environment with the SDK?

 

0 项奖励
回复
1 解答
261 次查看
BrK_
Contributor III

Hello @Habib_MS, thank you for your interest. I found the solution to my problem.

I added the following setting to the visual code launch configurations and now I can debug the ram.

 

"overrideLaunchCommands": [ "monitor halt", "monitor reset", "load" ],

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
304 次查看
Habib_MS
NXP Employee
NXP Employee

Hello @BrK_,

In order to support you better, could you please provide me the next information when you presented the error?

-SDK example that you cannot debug.

-SDK version.
-MCUXpresso version.

-Debugger information.

 

BR
Habib

0 项奖励
回复
262 次查看
BrK_
Contributor III

Hello @Habib_MS, thank you for your interest. I found the solution to my problem.

I added the following setting to the visual code launch configurations and now I can debug the ram.

 

"overrideLaunchCommands": [ "monitor halt", "monitor reset", "load" ],

 

0 项奖励
回复