Black Magic Probe Mini connection guide
Black Magic Probe Mini (Mini V2.1e debug header) connection guide. Power the probe and target separately. Scan a target over SWD.
Mini V2.1e debug header
10 contacts Current packagePower the probe and target separately
RequiredConnect the probe to the host by USB and use the target board’s own supply. Keep the probe’s target power disabled. Use the probe’s reference pin only to sense the already powered target rail in this setup.
- Target voltage reference
- Target I/O rail
- Common return
- Target GND
Bench checks
- Identify pin 1 at both ends before attaching the cable.
- With the target powered, measure 1.8–5 V between VTref and common ground before scanning.
Black Magic Debug, Getting Started, target wiring and GDB connection
Scan a target over SWD
RequiredKeep the target’s own power supply. Wire data and clock, and connect reset if the target exposes it. In GDB, use target extended-remote with the probe’s GDB serial port, then run monitor swd_scan. The probe’s second serial port is for UART.
- SWD data
- Target SWDIO
- SWD clock
- →
- Target SWCLK
- Reset
- Target nRESET
Bench checks
- Check that the probe reports the expected target voltage.
- Read the device identity in the scan result before programming or changing target state.
Black Magic Probe Mini V2.1e schematic, JTAG-10 block. Black Magic Debug, Getting Started, target wiring and GDB connection.
Connection scenarios
Add Manchester SWO to SWD
Complete the required steps for this scenario: Power the probe and target separately·Scan a target over SWD
With the target powered and SWD connected, route target SWO to contact 6. Configure Manchester SWO on both the target and probe. It uses PA6 with the factory 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.
- Manchester SWO
- Target SWO
Bench checks
- Check that the target supports Manchester SWO and has trace output enabled on the connected pin.
- In GDB, use monitor help to check the trace modes exposed by the installed firmware.
Black Magic Probe Mini V2.1e schematic, JTAG-10 block. Black Magic Debug v2.1.0, BMP v1/v2 firmware. Black Magic Debug, Serial Wire Output.
Mini V2.1e debug header wiring map
1 · VTref
With probe-supplied target power disabled, connect to the target’s powered 1.8–5 V debug I/O rail for the level shifters.
- Target voltage reference
- Target I/O rail
Models and documents
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.
- BMP Mini V2.1e
- Official 1BitSquared V2.1e hardware.
- BMP Mini V2.1e schematic (PDF)· 1BitSquared schematic, sheet 1. Debug connector X2, level shifting and the PB7 branch. © 2016–2019 Piotr Esden-Tempski, CC BY-SA 4.0.
- Black Magic Debug hardware revisions· Target voltage, interfaces and revision notes, with the original schematic.
- Black Magic Debug v2.1.0, BMP v1/v2 firmware· PA6/TIM3 for Manchester recovery and hardware revision gating for UART SWO.
- Black Magic Debug, Serial Wire Output· Target setup, trace encoding and GDB commands.
- Black Magic Debug setup· USB enumeration, GDB transport and target scan.
