probe-rs

glasgow run probe-rs

Expose SWD via a socket that can be used with probe-rs. JTAG debugging is not supported (yet).

The current protocol version is probe-rs,v01, which is available in probe-rs 0.30.0 or later.

usage: glasgow run probe-rs [-h] [-V VOLTS] [--swclk PIN] [--swdio PIN]
                            [--srst PIN]
                            [ENDPOINT]
endpoint

listen at ENDPOINT, either unix:PATH or tcp:HOST:PORT (default: connect via USB)

-h, --help

show this help message and exit

-V <volts>, --voltage <volts>

target power (voltage reference of the interface) (range: 1.8..5 V, or ‘S<port>’ to follow the voltage sensed on a port; default: unchanged)

--swclk <pin>

bind serial wire clock to PIN (default: ‘A0’, required)

--swdio <pin>

bind serial wire data to PIN (default: ‘A1’, required)

--srst <pin>

bind system reset (active low) to PIN (optional)