# PicoProbe PCB kit

Turn your Raspberry Pi Pico into a debug probe

- **Seller:** [Fabien Chouteau's store](https://lectronz.com/stores/fabien-c), Angers, France
- **Price:** €8.00 (EUR, before shipping and taxes)
- **Availability:** Sold out
- **Categories:** Raspberry Pi, Test equipment, Tools
- **Product page:** https://lectronz.com/products/picoprobe-pcb-kit

## Links

- [Code](https://github.com/Fabien-Chouteau/picoprobe-pcb)
- [Design Files](https://github.com/Fabien-Chouteau/picoprobe-pcb/tree/main/production/rev-1.0)

## Images

![PicoProbe PCB kit](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDA0LCJwdXIiOiJibG9iX2lkIn19--04d59c82f30d85dce22fbb6d01fd924009e13627/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/3_pin_SWD.jpg)
![PicoProbe PCB kit](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDA2LCJwdXIiOiJibG9iX2lkIn19--fb3d7a73bc564ba827e9f551cf2bd183330e0ace/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/kit_content.jpg)
![PicoProbe PCB kit](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDA4LCJwdXIiOiJibG9iX2lkIn19--c1f804633ea907d83c7cf98a89fed6f04905365a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/10_pin_SWD.jpg)
![PicoProbe PCB kit](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDEwLCJwdXIiOiJibG9iX2lkIn19--b273b556ab6985b1dfc16b8742b5d14b00f8317a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/header_options.jpg)
![PicoProbe PCB kit](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NDEyLCJwdXIiOiJibG9iX2lkIn19--16fd40032bfc97570a58e1d935ec7f724eb9cdb0/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/mounting_options.jpg)

## Description

If like me you love the Raspberry Pi Pico/RP2040, but your are not satisfied with the available hardware debugging solution, this kit is for you ^^

This PCB is designed to turn a Pico into a nice debug probe using the [PicoProbe software](https://github.com/raspberrypi/picoprobe).

The kit provides everything you need to turn a Raspberry Pi Pico into a debug probe (Raspberry Pi Pico not included):

- The Picoprobe-PCB
- 1x cortex-M SWD 10pin header
- 1x cortex-M SWD 10pin ribon cable
- 1x 6 pin male header
- 1x 6 pin female header

# Usage

## Mounting options

There are two ways to mount a Raspberry Pi Pico on the Picoprobe-PCB. You can
either solder it directly for a slim/compact result (right), or use header to
be able to re-use the Pico on other projects (left).

![](https://raw.githubusercontent.com/Fabien-Chouteau/picoprobe-pcb/main/docs/media/docs/media/mounting_options.jpg "")

## Install the Picoprobe software

 1. Either get the picoprobe `.uf2` binary from our release [here](https://github.com/Fabien-Chouteau/picoprobe-pcb/releases/tag/v1.0) or compile it yourself from sources [here](https://github.com/raspberrypi/picoprobe).

 1. Hold the BOOTSEL button on the Pico, then connect to your computer using a
 micro USB cable.

 1. Drag and drop the UF2 file on to the RPI-RP2 drive.

 1. You should be good to go.

### Plug the picoprobe SWD pin to the Pico that you want to debug

![](https://raw.githubusercontent.com/Fabien-Chouteau/picoprobe-pcb/main/docs/media/docs/media/3_pin_SWD.jpg "")

### Build Raspberry Pi's openocd

$ sudo apt install automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev

$ git clone https://github.com/raspberrypi/openocd.git --branch picoprobe --depth=1 --no-single-branch

$ cd openocd

$ ./bootstrap

$ ./configure --enable-picoprobe

$ make -j4

### Run openocd

$ ./src/openocd  -s tcl -f interface/picoprobe.cfg -f target/rp2040.cfg

### Debug!

Now that openocd is connected, you can start debugging with GDB for instance.

$ arm-eabi-none-gdb

(gdb) target extended-remote :3333
