flash
Program .elf, .bin, or .hex firmware onto an STM32C011 over SWD via ST-LINK using STM32_Programmer_CLI. Optionally set a serial number to target a specific probe.
Instructions
Flash a .elf/.bin/.hex to an STM32C011 over SWD via ST-LINK using STM32_Programmer_CLI. Set serial_number to target one probe among several.
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": "flash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | STM32C011F6Ux | |
| erase | No | all | |
| verify | No | ||
| file_path | Yes | ||
| reset_mode | No | rst | |
| frequency_khz | No | ||
| serial_number | No |