We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b752dc commit 1e76230Copy full SHA for 1e76230
content/en/docs/Tutorials/flashing-stm32-from-cm4/_index.md
@@ -31,3 +31,12 @@ Get a binary (.elf format) and upload it to the STM32 like this:
31
openocd -f interface/xcore.cfg -f target/stm32h7x.cfg -c "program your-binary.elf verify reset exit"
32
```
33
The firmware should be uploaded and the program should be running.
34
+
35
36
+### Debugging via remote GDB
37
+In order to debug the program on your xCore board, run the following command:
38
+```bash
39
+openocd -f interface/xcore.cfg -f target/stm32h7x.cfg -c "bindto 0.0.0.0"
40
+```
41
42
+Then connect your favorite IDE to port 3333 to upload and debug using GDB
0 commit comments