🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳
🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳

Raspberry Pi Debug Probe

by Raspberry Pi

The Raspberry Pi Debug Probe is an inexpensive, all-in-one USB to serial debug and UART bridge.

It provides the necessary hardware and cabling to support “plug and play” debugging of Raspberry Pi Pico and other microcontroller- and microprocessor-based platforms.

The Raspberry Pi Debug Probe provides both a processor serial debug interface (by default this is the ARM Serial Wire Debug interface) and an industry-standard UART interface. Both interfaces use a 3-pin debug connector, as specified in the Raspberry Pi 3-pin debug connector specification.

The Raspberry Pi Debug Probe is provided as a kit, containing the probe hardware in a plastic case, and a set of cables: a USB cable, and three different types of debug cable to cover the vast majority of use cases.

It provides:

  • A USB to Serial Wire Debug (SWD) bridge
  • A generic USB serial adapter
  • Cables to connect to a host computer, and to the debug target

While it has been designed primarily for Raspberry Pi Pico, and other RP2040-based targets, the Debug Probe provides standard CMSIS-DAP debug and UART interfaces over USB; it can therefore be used to debug other targets (that have an SWD port with 3V3 I/O), or simply as a cost-effective USB-to-UART cable.

The Raspberry Pi Debug Probe is based on the Raspberry Pi Pico hardware design and runs the open-source Raspberry Pi Picoprobe software. Updating the firmware is accomplished in the same way as on a Raspberry Pi Pico, so it is straightforward to keep the unit up to date with the latest Picoprobe firmware, or to use a custom firmware.

What is a debug probe?

All modern Arm-based microcontrollers, including RP2040, implement Arm’s CoreSight debug architecture. Each processor core, like the Cortex-M0+ used in RP2040, provides an Access Port (AP) which can be used to single step, set breakpoints, observe the values of processor registers, and access memory and peripherals via the processor’s bus interface.

The microcontroller itself provides a Debug Port (DP), which is connected externally to pins on the package, and internally to each AP in the system. RP2040 exposes its DP via a low-pin-count Serial Wire Debug (SWD) port: by talking the SWD protocol over this port, a host computer can control each core’s AP, in order to debug a program running on the core.

A debug probe provides a bridge between USB and the SWD protocol. While not strictly required if the host computer is a Raspberry Pi (you can wire up the target’s SWD port directly to the GPIO header on a Raspberry Pi), it’s much more convenient to connect via USB. And if you’re using a PC or Mac, USB is your only option.

The Raspberry Pi Debug Probe exposes the SWD signals on a three-pin JST connector, conforming to the Raspberry Pi Debug Connector Specification. We provide adapter cables to connect without soldering to breadboard, and to the debug connector on Raspberry Pi Pico H and WH.

Arm has helpfully standardised the protocol used to communicate over USB between a host computer and a debug probe. The Raspberry Pi Debug Probe conforms to this CMSIS-DAP standard, and so will work out of the box with many existing debug software platforms, including our favourite, OpenOCD.

Serial communication

We often want to establish a serial console connection between a microcontroller target and a host computer. This provides a simple way to interact with software running on the target, and to retrieve logging and other diagnostic data. If the host computer is a Raspberry Pi, then you can use one of the UART peripherals exposed via the GPIO header. But if you’re using a PC or Mac, it’s very unlikely that you have access to a built-in serial port.

The Raspberry Pi Debug Probe functions as a USB serial adapter, over the same USB connection as the SWD bridge. It exposes the UART signals on a second three-pin JST connector, again conforming to the Raspberry Pi Debug Connector Specification.

For users who do not require debug functionality, the Raspberry Pi Debug Probe’s low price makes it a cost-effective alternative to other USB serial adapters. It has largely replaced the once-ubiquitous FTDI cable as our adapter of choice here at Pi Towers.

Resources

10 customer reviews

2 years ago
The board is fine and works well but i would have liked that the extra rows of pin holes be on the outside of the pico w not the inside. Other than that a really great board.
by DAVID about Pico Proto via REVIEWS.io
2 years ago
The board is great, it makes small projects with the Raspberry Pi Pico much easier. I can only recommend it.
by Jonny about Pico Proto via REVIEWS.io
2 years ago
The quality of the British made PCBs is impressive, much better than the Chinese ones, just like in the old days! If you are not afraid of soldering, or wire wrap, these Hats are perfect for developing very personal projects, very quickly.
by Anonymous about Pico Proto via REVIEWS.io
3 years ago
Cheap and easy way of making your own plug in expansions for a Pico. Add some female headers and you can DIY Pico Packs fairly easily.
by DAVID about Pico Proto via REVIEWS.io
3 years ago
Great to use as a 'breakout' board. Gives more scope to connect extra wires to each pin.
by Mr Howard about Pico Proto via REVIEWS.io
4 years ago
Would be good if the through holes could be slightly larger, to take two resistor legs for example. A wider "pico proto" and complementary carrier board would be nice. I had quite a fiddly time constructing a diy vga interface, more space would help, through hole and area.
by Anonymous about Pico Proto via REVIEWS.io
4 years ago
Nice to have if you want to make your own pico shield!
by Naveen about Pico Proto via REVIEWS.io
4 years ago
Amazing! And as usual Pimoroni service was First Class. make connection much more adaptable, with a couple of headers.
by Valerio about Pico Proto via REVIEWS.io
4 years ago
I haven't used the Pico Proto yet, but it looks great. I got it because I have a Pico project in mind, and I need it to be as absolutely flat as possible. This proto board will do that mighty well.
by Karsten about Pico Proto via REVIEWS.io
4 years ago
great little board, a little compact, but great for little IOT or small simple projects!
by Clifford about Pico Proto via REVIEWS.io

User photos