stm32_read_memory
Read STM32 MCU memory or register contents and return a hex dump or binary file. Specify address and size to capture data from any target.
Instructions
Read target MCU memory or register contents and return hex dump or output to binary file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Connection port (SWD, JTAG, etc.) | SWD |
| size | Yes | Number of bytes to read in hex or decimal (e.g. 0x100 or 256) | |
| address | Yes | Starting memory address in hex (e.g. 0x08000000 or 0x40023800) | |
| output_file | No | Optional file path to dump read data (.bin or .hex) |