flash_image
Flash a raw binary file to an MCU with erase, program, verify, and optional reset, supporting sector or chip erase.
Instructions
Flash a raw binary file with erase, program, verify, and optional reset.
path must be within security.allowed_file_paths when that allowlist is configured. erase_mode accepts 'sector' (default) or 'chip'. This persistent operation requires explicit confirmation and both flash erase and programming to be enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| verify | No | ||
| address | Yes | ||
| confirm | No | ||
| erase_mode | No | sector | |
| reset_after | No |