spi_dump
Dump full SPI flash contents to a file for firmware extraction. Read-only firmware raw mode transfer; expect minutes for multi-MiB chips due to serial baud limits.
Instructions
Dump the entire SPI flash to a file (firmware raw mode, menu 8). Serial-bottlenecked (~91 s per MiB at 115200 baud). [read-only] [Duration: slow - very-slow (4 MiB flash ~ 7 min). Background-dispatch required.] Returns {path, size}.
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": "spi_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout seconds (auto from capacity if omitted) | |
| output_path | Yes | Destination file path (e.g. /home/christian/re-lab/<target>/flash.bin) |