analyzer_start
Starts a background USB capture between TARGET-C (host) and TARGET-A (device), loading analyzer gateware as needed; poll status or read data, then stop.
Instructions
Start a background USB capture between TARGET-C (host) and TARGET-A (device). Loads the analyzer gateware if needed (stops other gateware). Poll with analyzer_status/analyzer_read, end with analyzer_stop.
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": "analyzer_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | Bus speed to capture; auto detects it (r0.6+ boards). | auto |
| duration_s | No | Auto-stop after this many seconds (None = run until analyzer_stop). | |
| vbus_from_aux | No | Power control: feed VBUS from the AUX port. | |
| buffer_packets | No | Ring buffer size in records. | |
| include_linestate | No | Keep LINESTATE_* bus events in the buffer (very verbose: ~8 per packet). Counted in status either way. | |
| auto_load_gateware | No | Load the analyzer gateware first if another mode is active. | |
| discharge_target_a | No | Power control: discharge TARGET-A VBUS. | |
| vbus_from_target_c | No | Power control: feed VBUS from TARGET-C (None = default pass-through). | |
| include_sof_in_buffer | No | Keep SOF packets in the buffer (high volume at FS/HS). | |
| vbus_from_control_host | No | Power control: feed VBUS from the CONTROL host. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||