mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
16 lines
262 B
Markdown
16 lines
262 B
Markdown
|
# st-util
|
||
|
|
||
|
> Run GDB server to interact with STM32 ARM Cortex microcontoller.
|
||
|
|
||
|
- 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}}`
|