diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 6 |
2 files changed, 5 insertions, 2 deletions
@@ -7,6 +7,7 @@ *.log *.tmp .mypy_cache/ +.gdb_history /build/ /build-aux/sources.mk @@ -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 |