This manual describes the STM32CubeIDE ST-LINK GDB server, a command-line application for debugging STM32 Arm Cortex-M devices via an ST-LINK JTAG probe.
The STM32CubeIDE ST-LINK GDB server is a command-line application that runs on a PC and communicates with STM32 Arm Cortex-M target devices via an ST-LINK JTAG probe. It processes Remote Serial Protocol (RSP) messages from a client connected to a TCP listening socket and executes appropriate operations on the target device.
The document explains how to start the GDB server, configure it using various command-line options, and use it for debugging STM32 devices. It also covers GDB debugging commands, supported monitor commands, and troubleshooting steps. This manual is written in Chinese.
| Default TCP Port | 61234 |
|---|---|
| Default Log Level | 31 |
| Default Log File | debug_log.txt |
| Default Refresh Delay | 5 seconds |
| Supported Target | STM32 Arm Cortex-M |
The default TCP port number is 61234.
Set the log level to 31 to enable full logging.
Use the monitor reset command to reset the target device.