flash_elf
Programs an ARM target through a protected flash-and-verify workflow, requiring preflight approval and an approval token before writing firmware.
Instructions
Program the target via the protected flash_and_verify workflow.
Requires running flash_preflight first, obtaining explicit user approval, and supplying both user_approved=true and the preflight approval_token.
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": "flash_elf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | ||
| elf_path | No | ||
| board_name | No | ||
| reset_after | No | ||
| user_approved | No | ||
| approval_token | No | ||
| bootloader_end | No |