read_flash
Dump SPI flash content to a file by specifying offset and length; stops running gateware and reboots the FPGA from flash afterward.
Instructions
Dump SPI flash content to a file. Stops the running gateware; the FPGA is rebooted from flash afterwards.
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": {
"output_path": "<output_path>"
},
"name": "read_flash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Bytes to read (default: up to 4 MiB minus offset). | |
| offset | No | Start offset, multiple of 256. | |
| output_path | Yes | Where to save the dump on this machine. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||