stlink: add st-util page

waldyrious/alt-syntax
Daniel Campoverde [alx741] 2016-09-17 23:09:04 -05:00
parent e7ba9d8ba8
commit bee393809e
1 changed files with 15 additions and 0 deletions

15
pages/common/st-util.md Normal file
View File

@ -0,0 +1,15 @@
# 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}}`