Skip to content

Commit 334b034

Browse files
bors[bot]modulitos
and
modulitos
authored
Merge #188
188: LED Roulette: Update 'flash it' docs r=andre-richter a=modulitos I encountered some confusion while working through section 5.2 "Flash It", so I've added some updates that future readers might find useful 🙏 Co-authored-by: modulitos <[email protected]>
2 parents a134619 + ffeabc6 commit 334b034

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/05-led-roulette/flash-it.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
7979
The "6 breakpoints, 4 watchpoints" part indicates the debugging features the processor has
8080
available.
8181

82+
Leave that `openocd` process running, and open a new terminal. Make sure that you are inside the project's `src/05-led-roulette/` directory.
83+
8284
I mentioned that OpenOCD provides a GDB server so let's connect to that right now:
8385

8486
``` console
@@ -100,6 +102,8 @@ Remote debugging using :3333
100102
0x00000000 in ?? ()
101103
```
102104

105+
**NOTE**: If you are getting errors like `undefined debug reason 7 - target needs reset` on the OpenOCD GDB server, then you may need to try using `arm-none-eabi-gdb` instead of the `gdb` command, as described above.
106+
103107
By default OpenOCD's GDB server listens on TCP port 3333 (localhost). This command is connecting to
104108
that port.
105109

0 commit comments

Comments
 (0)