tldr/pages/common/st-util.md

16 lines
277 B
Markdown
Raw Normal View History

2016-09-18 07:09:04 +03:00
# st-util
> Run GDB server to interact with STM32 ARM Cortex microcontoller.
- Run GDB server on port 4500:
2016-09-18 17:19:53 +03:00
`st-util --listen_port {{4500}}`
2016-09-18 07:09:04 +03:00
- Connect to GDB server:
`(gdb) target extended-remote localhost:4500`
- Write firmware to device:
`(gdb) load {{firmware.elf}}`