firmware_load
Loads a .hex file into a referenced microcontroller and optionally sets clock frequency, enabling firmware updates for live Proteus projects or offline circuits.
Instructions
[firmware] Point microcontroller ref at a .hex file (PROGRAM) and optionally set its clock.
With Proteus open (simulation stopped) it changes the live project; otherwise the offline
circuit (then save_project). Typical loop: firmware_build -> firmware_load -> sim_start ->
probe/testbench. For AVR parts clock_hz also clears the CLKDIV8 fuse so the
simulated CPU really runs at clock_hz.
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": {
"ref": "<ref>",
"hex_path": "<hex_path>"
},
"name": "firmware_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| clock_hz | No | ||
| hex_path | Yes |