OpenOCD HWIO#

class peakrdl_pyral_runtime.hwio.openocd.OpenOCDHWIO(*, offset: int = 0)#

HWIO Implementation that connects to an OpenOCD Tcl RPC server

Prior to connecting, the OpenOCD debug server shall be active, connected to the target, and configured to swd transport mode.

connect(host: str = 'localhost', port: int = 6666) None#

Connect to the Tcl RPC server.

Parameters:#

host: str

Hostname or IP address of the server.

port: int

Port number of the server.

disconnect() None#

Disconnect from the server.