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:
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?
Solved! Go to Solution.
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" ],
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
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" ],