write_memory
Write hex data to target device memory areas like fuses, EEPROM, or user row, with an optional offset for precise placement.
Instructions
Write raw bytes to a target device memory area.
memory: memory area name (e.g. 'fuses', 'eeprom', 'user_row'). data_hex: bytes to write as a space-separated or 0x-prefixed hex string (e.g. '0xff 0x00 0xc8' or 'ff 00 c8'). offset: byte offset within the memory to start writing (default: 0). Returns 'OK' on success. Use for writing fuse bytes, EEPROM, or small memory regions. For full firmware images, prefer flash which handles address mapping.
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": {
"memory": "<memory>",
"data_hex": "<data_hex>"
},
"name": "write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes | ||
| data_hex | Yes | ||
| offset | No | ||
| device | No | ||
| tool | No | ||
| serialnumber | No | ||
| serialport | No | ||
| baudrate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |