write_memory
Writes binary data to a target's memory at a given start address with selectable 8, 16, or 32-bit access width, letting you patch or load values directly on J-Link connected devices.
Instructions
Write to memory / 写入内存.
Args: address: Start address / 起始地址 data: Data to write / 要写入的数据 width: Access width (8/16/32 bits, default 32) / 访问宽度(8/16/32位,默认 32)
Returns: Write result / 写入结果
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": {
"address": "<address>",
"data": "<data>"
},
"name": "write_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| width | No | ||
| address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||