SWD
The target provides reference voltage. The data and clock lines are sufficient for standard SWD when the target is running. Reset can help attach to a target during startup.
The Black Magic Probe Mini V2.1e connects GDB to a target over SWD or JTAG. Its Cortex debug connector uses the target’s I/O rail to reference the probe’s level shifters.
With probe-supplied target power disabled, connect to the target’s powered 1.8–5 V debug I/O rail for the level shifters.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | VTref Target reference | Target reference | With probe-supplied target power disabled, connect to the target’s powered 1.8–5 V debug I/O rail for the level shifters. |
| 2 | SWDIO / TMS Bidirectional in SWD | Bidirectional in SWD | Serial Wire Debug data. In JTAG, this is the target’s mode-select input. |
| 3 | GND Return | Return | Connect to target ground. |
| 4 | SWCLK / TCK Probe output | Probe output | Clock driven by the probe in both SWD and JTAG. |
| 5 | GND Return | Return | Connect to target ground. |
| 6 | SWO / TDO Probe input | Probe input | JTAG TDO and Manchester SWO use the buffered PA6 input with the jumper open. Hardware UART/NRZ SWO needs the normally open TRACESWO jumper closed to USART1_RX (PB7) and firmware that supports this route. Official BMP v1/v2 firmware v2.1.0 does not enable UART SWO on V2.1e. |
| 7 | KEY Key position | Key position | Mechanical key position in a keyed connector. Leave unused. |
| 8 | TDI Probe output | Probe output | JTAG test data input at the target. Leave unused for basic SWD. |
| 9 | GND Return | Return | Connect to target ground on this probe revision. |
| 10 | nRESET Open-drain probe output | Open-drain probe output | Active-low target reset. Connect to target nRESET when reset control or attach under reset is needed. |
The target provides reference voltage. The data and clock lines are sufficient for standard SWD when the target is running. Reset can help attach to a target during startup.
Wire the four JTAG signals, VTref and common ground. TDO uses the buffered PA6 input independently of the jumper. Connect nRESET when target reset control is needed.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Buffered target debug voltage1.8–5 V | 1.8–5 V | Applies to the V2.1 hardware’s buffered debug lines. Use the target’s actual I/O voltage for VTref. Black Magic Debug, Supported Hardware, BMP Mini V2.1 |
| Target supply in the guideExternal to the probe | External to the probe | Leave probe-supplied target power disabled when using an independently powered target. Black Magic Debug, Getting Started, target wiring and GDB connection |
This map covers the target debug header of BMP Mini V2.1e. Check the official hardware pages for the auxiliary serial connector, older 20-contact probes and the V2.3 unified connector.