flash
Erase target microcontroller, write a hex file, and verify the result in a single operation to program a device reliably.
Instructions
Erase, write, and verify a hex file in one operation.
This is the recommended way to program a device. It erases the target, writes the hex file, and verifies the result. hexfile: absolute path to the .hex file on disk. Returns 'OK' on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hexfile | Yes | ||
| device | No | ||
| tool | No | ||
| serialnumber | No | ||
| serialport | No | ||
| baudrate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |