Key facts
- Brand
- STMicroelectronics
- Model
- STM32CubeIDE
- Documents
- 2
- Languages
- ZH · EN
- Last added
- 2026-10-15
Start here

STM32CubeIDE ST-LINK GDB Server UM2576 User Manual
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.
STMicroelectronics STM32CubeIDE specifications
| 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 |
All STMicroelectronics STM32CubeIDE documents by type
Day-to-day operation, settings and troubleshooting. Start here if the product is already set up.
Mounting, wiring and first power-up. Read it before the hardware goes in.
Questions answered in these manuals
What is the default TCP port for the ST-LINK GDB server?
The default TCP port number is 61234.
How do I enable full logging in the GDB server?
Set the log level to 31 to enable full logging.
What operating systems are supported?
The software is tested and verified on Microsoft Windows, Linux, and macOS.
Which Linux distributions are supported?
Supported distributions include Ubuntu 18.04, Ubuntu 20.04, Fedora 29, and Fedora 31.
