Spark Logic

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 package

1BitSquared· 10 positions · 1.27 mm pitch · Cortex debug connector

Power the probe and target separately

Required

Connect 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

Required

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.

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

External wiring example · Add Manchester SWO to SWD

Highlighted contacts are used in the required steps or selected circuit. Select a contact to highlight its wiring nets.

Mini V2.1e debug header · Connector contact view. Match the keyed position and pin 1 to the probe’s marking.
Selected pin details

1 · VTref

Target reference · Power

With probe-supplied target power disabled, connect to the target’s powered 1.8–5 V debug I/O rail for the level shifters.

Black Magic Probe Mini V2.1e schematic, JTAG-10 block

Connected nets

Electrical limits · Pin in the reference

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.