snippetbashTip
st-util — Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller. More information: <h
Viewed 0 times
servercommandrungdbst-utilclignudebugger
Problem
How to use the
st-util command: Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller. More information: <https://github.com/stlink-org/stlink/blob/testing/doc/man/st-util.md>.Solution
st-util — Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller. More information: <https://github.com/stlink-org/stlink/blob/testing/doc/man/st-util.md>.Run GDB server on port 4500:
st-util {{[-p|--listen_port]}} {{4500}}[Interactive] Connect to GDB server within
gdb:target extended-remote {{localhost}}:{{4500}}[Interactive] Write firmware to device:
load {{firmware.elf}}Code Snippets
Run GDB server on port 4500
st-util {{[-p|--listen_port]}} {{4500}}[Interactive] Connect to GDB server within `gdb`
target extended-remote {{localhost}}:{{4500}}[Interactive] Write firmware to device
load {{firmware.elf}}Context
tldr-pages: common/st-util
Revisions (0)
No revisions yet.