facedancer_start
Start emulating a USB device on the TARGET-C port in a background worker, loading gateware as needed. Stop it with the companion stop tool.
Instructions
Start emulating a USB device with Facedancer in a background worker process. Loads the facedancer gateware if needed (stops other gateware, writes SoC firmware to flash). Stop with facedancer_stop.
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": {
"kind": "<kind>"
},
"name": "facedancer_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Device to emulate on the TARGET-C port. | |
| params | No | Kind-specific parameters (see facedancer_list_device_kinds). | |
| script_path | No | kind=script: Python file defining the USBDevice to emulate. | |
| ready_timeout_s | No | Seconds to wait for the emulation to be connected. | |
| auto_load_gateware | No | Load the facedancer gateware (and SoC firmware) first if needed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||