fpga_program
Flash an iCE40 FPGA bitstream using iceprog, with dry-run mode to preview commands before actual hardware programming.
Instructions
Flashes an iCE40 bitstream via iceprog. Dry-run (default) only reports the planned command: real flashing needs board hardware this host cannot verify. ECP5 needs openFPGALoader, which is absent from the image.
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": {
"bitstream_file": "<bitstream_file>"
},
"name": "fpga_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory. | |
| dry_run | No | Report the plan without touching hardware (default: true). | |
| bitstream_file | Yes | Bitstream file to flash. |