deploy_project
Flashes compiled STM32 firmware to a J-Link target, verifies all programmed bytes, runs it, and optionally monitors runtime behavior via RTT.
Instructions
Flash compiled STM32 ELF/HEX/BIN, verify all bytes, run, auto-select monitoring / 自动烧录运行并监控.
Requires exact chip and unique probe/artifact or explicit selection. Programs internal flash. sample_cpu briefly halts CPU during monitoring; default false preserves timing.
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": {
"project_path": "<project_path>"
},
"name": "deploy_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor | No | ||
| chip_name | No | ||
| duration_s | No | ||
| sample_cpu | No | ||
| project_path | Yes | ||
| firmware_path | No | ||
| flash_address | No | ||
| serial_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||