flash_and_verify
Program, verify, and optionally reset an embedded target via OpenOCD in one atomic operation, helping ensure firmware is written correctly before reset.
Instructions
Atomically program, verify, and optionally reset a target via OpenOCD.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"elf_path": "<elf_path>"
},
"name": "flash_and_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | ||
| elf_path | Yes | ||
| board_name | No | ||
| reset_after | No | ||
| user_approved | No | ||
| approval_token | No | ||
| bootloader_end | No |