start_openocd
Start OpenOCD as a subprocess with automatic duplicate detection. Configure debug probe and chip target settings, or use project defaults.
Instructions
Start OpenOCD as a subprocess (so you don't have to launch it manually). Detects an already-running instance and won't start a duplicate.
interface_cfg : debug-probe config (default: project setting, else ST-Link) target_cfg : chip config, e.g. 'target/stm32f4x.cfg' (default: project setting) Leave both empty to use the configured project settings (see configure / openocd-mcp.json). A target_cfg must be set somewhere or this errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_cfg | No | ||
| interface_cfg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |