pyocd_flash_verify
Verifies target Flash content matches a firmware file by reading Flash and comparing segment by segment. Returns true if match or address of first mismatch.
Instructions
Verify the target's Flash content matches a firmware file. Reads Flash and compares segment by segment. Supports .hex, .bin, .elf, and .axf formats. Returns verified:true if match, or first mismatch address if different. Sends progress notifications to prevent AI client timeouts during verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to firmware file (.hex, .bin, .elf, or .axf) | |
| base_address | No | Base address for .bin files (default: 0x00000000). Ignored for .hex/.elf |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |