flash_firmware
Flash firmware files (.hex, .bin) to a connected target MCU using J-Link debugger.
Instructions
烧录固件到 MCU
将固件文件烧录到连接的目标 MCU。
Args: firmware_path: 固件文件路径 (.hex, .bin)
Returns: 烧录结果的 JSON 字符串
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": {
"firmware_path": "<firmware_path>"
},
"name": "flash_firmware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| firmware_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |