IMXRT1171 - cannot Debug into RAM.

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

IMXRT1171 - cannot Debug into RAM.

Jump to solution
780 Views
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 Kudos
Reply
1 Solution
695 Views
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" ],

 

View solution in original post

0 Kudos
Reply
2 Replies
738 Views
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 Kudos
Reply
696 Views
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 Kudos
Reply