STM32CubeIDE ST-LINK GDB Server UM2576 User Manual

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.


STM32CubeIDE ST-LINK GDB Server UM2576 User Manual - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
User Manual
Language
Chinese
Pages
16
File format
PDF
File size
544 KB
Published
15 October, 2026
Updated
15 October, 2026
MD5 checksum
A914D76EFE446FB2114EFECBAD8ED871

About this 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.

What's inside

  • Introduction
  • GDB Server Startup Options
  • GDB Server Work Modes
  • Using GDB for Debugging
  • Supported Monitor Commands
  • Troubleshooting

Specifications

Default TCP Port61234
Default Log Level31
Default Log Filedebug_log.txt
Default Refresh Delay5 seconds
Supported TargetSTM32 Arm Cortex-M

Frequently asked questions

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 command is used to reset the target device?

Use the monitor reset command to reset the target device.

Download PDF (544 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →