Expand description
Byte sources for the SWO trace stream, and OpenOCD setup over telnet.
The decoder doesn’t care where bytes come from. In practice they arrive from
OpenOCD: it captures SWO from the ST-Link and, when configured with
tpiu config internal :<port> …, streams the raw trace to a TCP socket. We
connect to that socket. For development and tests there is also a file
replay of a captured stream.
Per the README, OpenOCD’s SWO command sequence is version- and probe-
dependent; openocd_enable sends a best-effort sequence and the exact
commands are documented for the user to adapt.
Enums§
- Source
- Where to read the raw SWO byte stream from.
Functions§
- openocd_
enable - Send OpenOCD (telnet console, default port 4444) the command sequence that enables SWO/ITM capture and routes trace to an internal TCP port.