stm32_dump_flash_to_file
Read flash memory contents from an STM32 MCU and save them to a local binary file for backup or analysis.
Instructions
Reads flash memory contents from the target MCU and dumps them to a local file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stm32_dump_flash_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | SWD | |
| address | No | 0x08000000 | |
| size_bytes | No | ||
| output_file | No | flash_dump.bin |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |