Skip to content

ypsitau/picozero-debugprobe

 
 

Repository files navigation

Raspberry Pi Pico Debug Probe with RP2040-Zero

Forked from the original Raspberry Pi Debug Probe and modified to run on the RP2040-Zero board, which is a compact and cost-effective development board based on the RP2040 microcontroller.

Modifications are:

  • Adjusted pin configurations to match the RP2040-Zero's layout.
  • Uses the onboard full-color LED WS2812 for status indication.
  • Modified CMakeLists.txt to target the RP2040-Zero by default.
  • Created a custom case.

Flashing Pre-built Binary

  1. Download debugprobe_on_pico.uf2.

  2. Connect the RP2040-Zero to your computer with a USB cable while holding the BOOTSEL button. A drive named RPI-RP2 should appear.

  3. Copy the debugprobe_on_pico.uf2 file to the drive.

Pinout

GPIO Function
GPIO8 UART TX
GPIO9 UART RX
GPIO10 SWCLK
GPIO12 SWDIO

Wiring Image

  • GPIO11 and GPIO13 are connected to GND.
  • GPIO14 is NOT connected to the pin header, so the pin can be connected to 5V instead.

Usage

When the board is connected to the USB port, the onboard LED will light up in red, indicating that the debug probe is ready.

usage-ready

When the debugging session is active, the onboard LED will light up in green.

usage-running

Case

Download the STL files for 3D printing:

White filament is recommended for printing the case, as it can better show the RGB colors of the onboard LED.

Assemble the case with M3x5 screws.

case-cad case)

Building

  1. Clone the repository:

    $ git clone https://github.com/ypsitau/picozero-debugprobe
    $ cd picozero-debugprobe
    
  2. Initialize and update submodules:

    $ git submodule update --init --recursive
    
  3. Build the project:

    $ cmake -B build -G Ninja
    $ cmake --build build
    

    After building successfully, you should find the debugprobe_on_pico.uf2 file in the build directory.

References

Raspberry Pi Debug Probe product page

Raspberry Pi Pico product page

Raspberry Pi Pico 2 product page

About

Raspberry Pi Pico Debug Probe with RP2040-Zero

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 99.1%
  • Other 0.9%