jlink_flash_file
Flash firmware files to target chip memory using SEGGER J-Link debug probes. Supports .hex, .bin, and .srec formats with automatic flash erasure before programming.
Instructions
燒錄韌體檔案到目標晶片的 Flash 記憶體。
支援 .hex、.bin、.srec 等常見韌體格式。 燒錄前會自動擦除對應的 Flash 區塊。
Args: file_path: 韌體檔案的絕對路徑 address: 燒錄起始位址(.hex 檔通常忽略此參數),預設 "0x0"
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": {
"file_path": "<file_path>"
},
"name": "jlink_flash_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| address | No | 0x0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |