program_flash
Programs firmware data to a specified Flash address on J-Link targets, with optional post-programming verification.
Instructions
Program firmware to Flash / 烧录固件到 Flash.
Args: address: Start address / 起始地址 data: Data to program / 要烧录的数据 verify: Whether to verify after programming / 烧录后是否校验
Returns: Programming 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": "program_flash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| verify | No | ||
| address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||