-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load and debug program in RAM without flash using gdb / openocd (-DPICO_NO_FLASH=1) #153
Comments
note that this works for all program types |
Thank you for the clarification. The getting started guide use |
oh, thanks... I didn't realize that was there @lurch can you fix to move the #perexg you see issues with |
It seems that |
Still in backlog. |
For anyone struggling with VSCode and Cortex-Debug: I was able to debug my "no_flash" binary by replacing the "overrideLaunchCommands": [
"monitor reset init",
"load ${command:cmake.launchTargetPath}"
], I remember this working without this workaround, maybe something changed in the recent releases of the SDK. |
I no longer work on the documentation, so transferring this issue to @nathan-contino instead 🙂 |
The program loading and debugging procedure for
-DPICO_NO_FLASH=1
compilation option is not documented (gdb / openocd). I went through some trial and error steps to make it work. It would be probably nice to document this. My sequence:If everything is ok (program is in RAM - starts at 0x20000000):
The text was updated successfully, but these errors were encountered: