start_gdb_server
Starts a GDB server for J-Link targets to enable remote debugging of STM32 firmware, with configurable listen host/port, device, SWD/JTAG interface, and speed.
Instructions
Start GDB Server / 启动 GDB Server.
Args: host: Listen address / 监听地址 port: Listen port / 监听端口 device: Device name / 设备名称 interface: Interface type (SWD/JTAG, default JTAG) / 接口类型(SWD/JTAG,默认 JTAG) speed: Interface speed (kHz) / 接口速度(kHz)
Returns: Start result / 启动结果
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_gdb_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 0.0.0.0 | |
| port | No | ||
| speed | No | ||
| device | No | ||
| interface | No | JTAG |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||