diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-17 21:52:41 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-19 20:22:31 -0700 |
commit | cee2fbc19346a1dc68ca1777d29871bb75809884 (patch) | |
tree | 378ec009da02c1a61ab6967ed55a2613c52665d3 /README.md | |
parent | b307a7038fed1afa52fc9b246bab61d1af2ed2ec (diff) |
README: GDB notes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -35,13 +35,15 @@ UART: - `picocom --baud=115200 /dev/ttyUSB0` - `picocom --baud=115200 /dev/ttyACM0` -- `openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"` +- `openocd -f interface/cmsis-dap.cfg -c set 'USE_CORE 0' -f target/rp2040.cfg -c "adapter speed 5000"` + (Explanation of `USE_CORE`: https://github.com/raspberrypi/debugprobe/issues/45) - `arm-none-eabi-gdb ./build/rp2040/cmd/sbc_harness/sbc_harness.elf` ``` - target remote localhost:3333 + target extended-remote localhost:3333 monitor reset init continue ``` + https://openocd.org/doc/html/General-Commands.html SWD: - https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html |