stm32_reset_target
Reset an STM32 target MCU via SWD or JTAG, using a hardware NRST pulse for a hard reset or a software system reset.
Instructions
Triggers a target MCU reset via debug probe.
Args: hard_reset: If True, pulses the hardware NRST pin (-hardRst). Otherwise software system reset. port: Connection port ('SWD', 'JTAG').
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": "stm32_reset_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | SWD | |
| hard_reset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |