summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md6
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index ee30cb2..2fd72bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
*.log
*.tmp
.mypy_cache/
+.gdb_history
/build/
/build-aux/sources.mk
diff --git a/README.md b/README.md
index 2be841f..501689e 100644
--- a/README.md
+++ b/README.md
@@ -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