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
Connection scenarios
Scan a target over SWD
Keep 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.
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.
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.
