1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 21:24:54 +02:00
tldr/pages/common/st-util.md
2019-05-14 14:58:59 -03:00

16 lines
337 B
Markdown

# st-util
> Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller.
> Homepage: <https://github.com/texane/stlink>.
- Run GDB server on port 4500:
`st-util -p {{4500}}`
- Connect to GDB server:
`(gdb) target extended-remote {{localhost}}:{{4500}}`
- Write firmware to device:
`(gdb) load {{firmware.elf}}`