Skip to content

GDB/OpenOCD Debugging with TinyGo on the Pico #4006

Answered by Jason-Duffy
Jason-Duffy asked this question in Q&A
Discussion options

You must be logged in to vote

For anyone else with this issue, what was happening is the target MCU wasn't being reset after being flashed, so it hung in a weird state. Use the command monitor reset to do this, then the debug commands like continue will work as expected. I also read the openOCD manual which I found really helpful: https://openocd.org/doc/pdf/openocd.pdf and was able to write my own config files and custom shell scripts after that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jason-Duffy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant