flash
Program firmware files (.hex, .bin, .elf) to an ARM Cortex-M target device, with optional base address for .bin images, via J-Link.
Instructions
Flash firmware to the target device
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": {
"filePath": "<filePath>"
},
"name": "flash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to firmware file (.hex, .bin, .elf) | |
| baseAddress | No | Base address for .bin files (hex) |