IMXRT1171 - cannot Debug into RAM.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMXRT1171 - cannot Debug into RAM.

ソリューションへジャンプ
689件の閲覧回数
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 解決策
604件の閲覧回数
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 返答(返信)
647件の閲覧回数
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 件の賞賛
返信
605件の閲覧回数
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 件の賞賛
返信