probe-web / @probe-web/client / index / AttachOptions
Interface: AttachOptions
Defined in: index.ts:223
What Client.attach needs: a probe from Client.listProbes and the target.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
probe | DebugProbeEntry | The probe, as Client.listProbes returned it. | index.ts:225 |
chip? | string | probe-rs chip name, or omit for auto-detection. | index.ts:227 |
protocol? | "Swd" | "Jtag" | Debug protocol; the probe's default when omitted. | index.ts:229 |
speedKhz? | number | Probe clock speed in kHz; the probe's default when omitted. | index.ts:231 |
connectUnderReset? | boolean | Hold the target in reset while connecting, for firmware that disables the debug port or sleeps. | index.ts:233 |
allowEraseAll? | boolean | Allow probe-rs to mass-erase a locked chip in order to attach (this destroys its contents). | index.ts:235 |