An ARM debug probe is a small USB device that gives your computer a direct line into the debug port of an ARM microcontroller. Connected over two wires, it lets you flash firmware onto the chip without touching a boot button, pause your program at a breakpoint, step through it line by line, and read memory and registers while the code runs. Most affordable probes — including the $12-at-launch Raspberry Pi Debug Probe — speak CMSIS-DAP, an open standard Arm maintains, so the same cheap tool works on a Pico, an STM32 or an nRF52.
You may never need one if you only flash ready-made firmware over USB. The moment you write your own code, chase bugs that happen before your serial console wakes up, or work with bare chips, a probe is the tool that replaces guesswork with answers. The hands-on way in on MCU Atlas: our project that shows how to turn a Pico into a debug probe.
What a debug probe actually does
Think of the debug probe as a translator in the middle of a three-part chain: your PC runs a debugger (GDB, or the debug panel of an IDE like VS Code), the probe converts USB into the chip's debug protocol, and two signal wires carry that protocol into the debug access port Arm builds into every Cortex-M chip. A probe is simply the hardware key that fits it.
What you get that other workflows don't:
Real breakpoints and single-stepping. Serial-printf debugging shows you what your program chooses to print, after the fact. A probe halts the actual processor at the exact line you care about and lets you inspect everything — variables, the call stack, peripheral registers — at that instant.
Flashing without the boot-button dance. Boards like the Pico normally need you to hold BOOTSEL while replugging USB to enter drag-and-drop flashing. A probe programs the chip over the debug port instead: an entirely hands-off affair — Raspberry Pi's words — every time you push a new binary.
Seeing the invisible. Boot code that crashes before
main(), interrupts that fire for a microsecond, deep-sleep wake-ups — none of it prints to a console. Over the debug port it is all inspectable.Unbricking. A board with corrupted firmware and no working USB bootloader is dead to drag-and-drop — but a probe can usually still reach the chip over SWD and rewrite the flash.
None of this magic lives in the probe: it's the cheapest-looking part of the chain. The intelligence is the debugger software on your PC; the probe just speaks USB on one side and the chip's debug protocol on the other.
When you need one — and when you don't
Not every bench needs a probe, and beginners often already own debugging hardware without realizing it. The honest split:
You can probably skip a probe if:
Your dev kit has an on-board debugger already. An ST-LINK sits on most STM32 Nucleo and Discovery boards, and many other kits carry an on-board DAPLink probe. If the board enumerates as a debug probe when you plug it in, you already own one.
Your chip has a native USB bootloader. A Raspberry Pi Pico boots into USB mass storage when you hold BOOTSEL, and ESP32 boards flash over their built-in ROM bootloader. For loading known-good firmware, that's enough.
You need a probe if:
You're building or bringing up your own board. A bare Cortex-M chip on your own PCB has no USB anything — SWD is how it first gets code.
You're debugging early boot, deep sleep, or anything that kills the USB stack. If the bug happens before USB comes up, USB can't show it to you; SWD can.
You work with STM32, nRF52 or other chips whose cheap dev boards lack an on-board debugger, or you want real breakpoints in your own code.
You flash boards repeatedly and want it hands-off, or you need to recover a board whose firmware no longer boots.
For hobby use the default answer on this site is the Raspberry Pi Debug Probe: it's a complete kit — probe in a case, USB cable, and three cables for common connector styles — built around a Pico's own chip and launched at $12 (Raspberry Pi's announcement, February 2023; reseller prices today vary). Its firmware is open source, and the same firmware can be flashed onto a spare Pico, which is exactly what our project page walks through.
How the SWD connection works
Nearly all modern ARM debugging runs over Serial Wire Debug, SWD. Arm designed it as a two-pin alternative to the older four-and-five-pin JTAG interface: one clock pin (SWCLK), one bidirectional data pin (SWDIO), doing "about the same" debug work as JTAG — Arm's documentation names boundary-scan testing as the main loss. Both routes end at the same debug logic inside the chip, and many parts switch between the two on shared pins.
The wiring is deliberately boring:
| Line | Job |
|---|---|
| SWDIO | Data, both directions |
| SWCLK | Clock, driven by the probe |
| GND | Common ground reference — always connect this first |
| nRESET | Optional; lets the probe hold the chip in reset |
Three practicalities matter more than the theory:
Voltage. SWD runs at the chip's I/O voltage — 3.3 V on the vast majority of hobby boards, and the Raspberry Pi Debug Probe is specified at 3.3 V nominal. A 5 V-only setup needs a level-shifting adapter, not optimism.
The physical connector. Targets expose SWD as header pins (Pico, most STM32 boards), a 3-pin JST-SH socket (Pico H and newer Raspberry Pi boards), or solder pads on dense commercial boards. A general-purpose SWD debug cable — or the three cable styles shipped with the Debug Probe — covers all of these.
Ground before signals. When the target is powered from a different source than the probe, connect GND first: Raspberry Pi's documentation warns that voltage differences between the two systems can otherwise damage the probe.
Which ARM debug probe should you buy?
For hobby work the differences between probes are smaller than forum threads suggest: almost everything speaks SWD, and tool support matters more than the badge. The real axes are price, openness, and tool support.
| Probe | Interface | Openness | Tool support | Rough price (USD) | Best for |
|---|---|---|---|---|---|
| Raspberry Pi Debug Probe | USB → SWD + UART | CMSIS-DAP, open firmware | OpenOCD, pyOCD, VS Code, GDB | $12 at launch (Feb 2023) | First probe; Pico & general ARM hobby bench |
| Spare Pico + probe firmware | USB → SWD + UART | Same open firmware | Same tools | The Pico you already own | Anyone with a drawer Pico |
| DAPLink boards (e.g. Seeeduino XIAO) | USB → SWD | DAPLink, open | OpenOCD, pyOCD | A few dollars | Cheapest pocketable probe |
| FTDI-based (FT2232 family, e.g. Olimex) | USB → JTAG/SWD | Open protocols | OpenOCD (long-standing) | Varies | Legacy JTAG work |
| ST-LINK V2/V3 | USB → SWD/JTAG | ST-proprietary | ST tools, OpenOCD, IDEs | Low; built into STM32 kits | An all-STM32 bench |
| J-Link EDU Mini | USB → SWD/JTAG + SWO | SEGGER-proprietary | J-Link software, GDB, most IDEs | $76 (checked 2026-11-15) | Speed and IDE polish — non-commercial only |
| J-Link BASE | USB → SWD/JTAG + SWO | SEGGER-proprietary | Everything J-Link | $598 (checked 2026-11-15) | Professional use |
Pick the Raspberry Pi Debug Probe if you want one probe that answers most hobby needs. It's complete (case, cables, an SWD port and a UART port), its CMSIS-DAP firmware works with the open toolchain, it officially targets "any Arm-based microcontroller that provides an SWD port with 3V3 I/O", and Raspberry Pi commits to building it until at least January 2030. Our full setup walkthrough covers the commercial probe and the DIY route.
Pick a DIY Pico (or a DAPLink board) if you have a spare board and no probe budget at all. The exact same firmware the commercial probe runs can be flashed onto a plain Pico — you supply your own wires and skip the case. The trade is ten minutes of setup and no bundled cables, not capability.
Pick a J-Link if tool support or flash speed decides your day. SEGGER's drivers are the ones commercial IDEs integrate most deeply, full-size J-Links download far faster than budget CMSIS-DAP probes, and features like unlimited flash breakpoints and RTT work out of the box. Two cautions: the EDU Mini's license is strictly non-profit educational use — SEGGER's terms forbid any commercial undertaking, even developing a commercial product with it — and the price has climbed to $76 at SEGGER's US shop (checked 2026-11-15), a long way from the ~$20 of older guides. A commercial J-Link BASE is $598 (checked 2026-11-15).
ST-LINK earns its row differently: it's the default on STM32 dev kits, so if your bench is all-ST you likely own several. As a standalone purchase for mixed-brand work it's the least flexible choice — it exists for STM32.
Using a probe: the 60-second version
The tool that talks to a CMSIS-DAP probe is almost always OpenOCD or pyOCD; IDEs like VS Code wrap them. With a Debug Probe wired to a Pico, flashing looks like this — no BOOTSEL, ever again (Raspberry Pi's documentation):
$ openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program blink.elf verify reset exit"
Drop the -c "program …" part and OpenOCD stays running as a server that GDB (or a VS Code debug config) connects to — that's where breakpoints and stepping come from. Note the .elf: you program the full debug binary over SWD, not the drag-and-drop UF2 file. pyOCD reaches the same place (pyocd flash --target stm32f103 …) and supports nearly every Cortex-M part through built-in definitions and CMSIS-Packs.
One gotcha worth knowing before it bites you: a target in deep sleep may simply not answer when the probe knocks. The classic case is the nRF52 — boards that spend their life asleep can be invisible until you connect under reset (hold nRESET while attaching), and nRF52 chips shipped with debug protection (APPROTECT) engaged refuse debug access until a mass-erase "recover" unlocks them. If a board "was working yesterday" and now won't attach, look there first — and connect the optional nRESET wire.
Frequently asked questions
Is a debug probe the same thing as JTAG?
Related but not identical. JTAG is the older, pin-hungrier IEEE debug-and-test interface; SWD is Arm's two-pin replacement that reaches the same debug logic. Most Cortex-M boards expose SWD (sometimes both, sharing pins), and most probes speak the two interchangeably — check the product page for "SWD" and "JTAG" support lines.
What's CMSIS-DAP, exactly?
An open-source firmware standard from Arm: the software a debug unit runs to translate USB commands into the chip's Debug Access Port protocol. Because it's open, many probe makers implement it, and one driver stack — OpenOCD, pyOCD, and everything built on them — talks to all of them. It's why a $12 probe and a $598 probe can feel nearly identical for everyday debugging.
Can a Raspberry Pi Pico really be a debug probe?
Yes. Raspberry Pi ships the probe firmware (debugprobe) as an open-source project, and people were using one Pico to debug another long before the commercial probe existed. Flash the UF2 onto a spare Pico, wire SWDIO/SWCLK/GND to the target, and OpenOCD sees it like any CMSIS-DAP probe. Our project page does this step by step.
Do I need a probe for ESP32 boards?
Usually not for flashing — the ESP32's ROM bootloader already programs over USB. For debugging, ESP32 tooling leans on its own on-chip facilities (a built-in USB-JTAG on newer parts) rather than external CMSIS-DAP probes, so a Pi Debug Probe is usually the wrong tool there. Pick targets like Pico, STM32 or nRF52 for CMSIS-DAP probes.
Why won't my probe connect?
In order of likelihood: SWDIO and SWCLK swapped, no common ground, target unpowered, target in deep sleep (connect under reset), or — on nRF52 — APPROTECT engaged, needing a mass-erase recover. Slow the adapter clock down and re-try between steps.
Is one probe enough for different chips?
If it's CMSIS-DAP and your targets are 3.3 V, yes — SWD is standardized across Cortex-M vendors, which is the whole point. The same Raspberry Pi Debug Probe legitimately debugs a Pico, an STM32 and an nRF52; you just change the target config in OpenOCD or pyOCD.
Your first debug-probe build on MCU Atlas
Everything above is the concept; the build itself is a beginner-friendly afternoon:
Build it: Raspberry Pi Debug Probe: CMSIS-DAP for Pico and ARM — flash the probe firmware onto a Pico or set up the commercial probe, wire by wire.
Buy the hardware: the Raspberry Pi Debug Probe and a general-purpose SWD debug cable.
Or browse our programmer projects while you decide.
— Connie, MCU Atlas editor