flash_and_run
Flash firmware to a target and run to a specified breakpoint. Automates download, reset, breakpoint set, and run to streamline debugging.
Instructions
Flash firmware to target and run to a breakpoint (default: main).
Composite operation:
Execute the configured flash script (downloads firmware)
Reset the target
Set a breakpoint at the specified symbol
Run to that breakpoint
Args: break_at: Symbol to break at after flashing (default: "main"). Set empty to skip.
Returns: Step-by-step execution results
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "flash_and_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| break_at | No | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |