Skip to content
MCU Atlas

Raspberry Pi Debug Probe: CMSIS-DAP for Pico and ARM

The Raspberry Pi Debug Probe is a CMSIS-DAP SWD debugger for ARM chips: flash and debug a Pico, STM32 or nRF52 from your PC. Setup, parts list and where to buy.

Difficulty:BeginnerSource available

Key Facts

About This Project

The Raspberry Pi Debug Probe firmware implements CMSIS-DAP over USB so you can debug and flash other microcontrollers (including another Pico) over SWD. You can buy the finished Debug Probe accessory or flash this firmware onto a spare Pico. It is the recommended debugger for Pico SDK development and works with OpenOCD and many IDEs. New to SWD debugging altogether? Our ARM debug probe explainer (/guides/what-is-an-arm-debug-probe/) covers what a probe is and when you need one.

Source & Attribution

Source: GitHub
License: unknown (custom/multiple – see repo)
Last verified: 10/15/2026
Raspberry Pi Debug Probe: CMSIS-DAP for Pico and ARM

Illustration

How to Build It

Debugprobe is Raspberry Pi's CMSIS-DAP firmware, used on the official Debug Probe and on any spare Pico. It gives you SWD debugging and a USB-UART bridge for Pico and other Arm microcontrollers, and works with OpenOCD, GDB and VS Code.

Parts Needed

Steps

  1. 1

    Get the firmware

    Download a prebuilt UF2 from the releases: debugprobe.uf2 for the Debug Probe, or debugprobe_on_pico.uf2 / debugprobe_on_pico2.uf2 for a Pico.

  2. 2

    Flash it

    Hold BOOTSEL while plugging in the probe or Pico, then drag the UF2 onto the drive that appears.

  3. 3

    Wire to the target

    Connect the probe's SWCLK, SWDIO and GND to the target's SWD pins, and optionally its UART TX and RX for serial. The pin mapping for a Pico-based probe is in the Raspberry Pi docs.

  4. 4

    Debug

    Use OpenOCD with the cmsis-dap interface (or the Pico VS Code extension) to flash and debug the target over GDB.

  5. 5

    Build it yourself (optional)

    Clone with submodules, set PICO_SDK_PATH, then run cmake and make. Add -DPICO_BOARD=pico or pico2 for Pico builds, using a fresh build folder for Pico 2.

  6. 6

    Tips

    AutoBaud mode lets the UART bridge match the target's baud rate. Turn it on by setting the special custom baud rate given in the README.

Available as a complete kit

CMSIS-DAP debugger for Pico and ARM

Buy from Raspberry Pi

DIY Alternative

DIY Parts List

Generic parts to build something similar yourself

generic

3 parts · 3 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

Related Projects

PicoFlasher: read and write Xbox 360 NANDs with a Raspberry Pi Pico
Illustration
RASPBERRY PI PICORP2040
PicoFlasher turns a Raspberry Pi Pico into an Xbox 360 NAND flasher for J-Runner: flash the Pico, wire it, and read, write and verify the NAND step by step.
Advanced·Code
1 part listed
MCUViewer-probe: turn an ESP32-S3 into a wireless debug probe
Illustration
ESP32ESP32-S3
Free, open-source firmware that turns a cheap ESP32-S3 board into a wireless Arm debug probe, streaming live variables to the MCUViewer desktop app over Wi-Fi.
Intermediate·Code
3 parts listed
PiKVM: open-source IP-KVM on Raspberry Pi
Illustration
RASPBERRY PIPI-4
Remote keyboard, video and mouse control of any computer over the network, even in the BIOS, using a Raspberry Pi.
Intermediate·Code
4 parts listed