Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

debugprobe

> 编程语言
Open source

Firmware source and binaries for the RP2040-based Debug Probe accessory

1.2K stars0 likes0 views
WebsiteGitHub

About

Firmware source and binaries for the RP2040-based Debug Probe accessory

Debugprobe

Firmware source for the Raspberry Pi Debug Probe SWD/UART accessory. Can also be run on a Raspberry Pi Pico or Pico 2.

Raspberry Pi Debug Probe product page

Raspberry Pi Pico product page

Raspberry Pi Pico 2 product page

Documentation

Debug Probe documentation can be found at the Raspberry Pi documentation and in the Getting Started with Pico PDF.

Hacking

For the purpose of making changes or studying of the code, you may want to compile the code yourself.

First, clone the repository:

bash
git clone https://github.com/raspberrypi/debugprobe
cd debugprobe

Initialize and update the submodules:

bash
 git submodule update --init --recursive

Then create and switch to the build directory:

bash
 mkdir build
 cd build

If your environment doesn't contain PICO_SDK_PATH, then either add it to your environment variables with export PICO_SDK_PATH=/path/to/sdk or add -DPICO_SDK_PATH=/path/to/sdk to the arguments to CMake below.

Run cmake and build the code:

bash
 cmake ..
 make

Done! You should now have a debugprobe.uf2 that you can upload to your Debug Probe via the UF2 bootloader.

Building for the Pico 1

If you want to create the version that runs on the Pico, then you need to invoke cmake in the sequence above with the DEBUG_ON_PICO=ON option:

bash
cmake -DDEBUG_ON_PICO=ON ..

This will build with the configuration for the Pico and call the output program debugprobe_on_pico.uf2, as opposed to debugprobe.uf2 for the accessory hardware.

Note that if you first ran through the whole sequence to compile for the Debug Probe, then you don't need to start back at the top. You can just go back to the cmake step and start from there.

Building for the Pico 2

If using an existing debugprobe clone:

  • You must completely regenerate your build directory, or use a different one.
  • You must also sync and update submodules.
  • PICO_SDK_PATH must point to a version 2.0.0 or greater install.
bash
git submodule sync
git submodule update --init --recursive
mkdir build-pico2
cd build-pico2
cmake -DDEBUG_ON_PICO=1 -DPICO_BOARD=pico2 ../

This will build with the configuration for the Pico 2 and call the output program debugprobe_on_pico2.uf2.

AutoBaud Mode

Mode which automatically detects and sets the UART baud rate as data arrives.

To enable AutoBaud, configure the USB CDC port to the following custom baud rate:

9728 (0x2600)

Note: Some Linux serial tools cannot set custom baud values. PuTTY on Windows and any terminal that supports arbitrary baud rates works.

Changing the baud rate to any other value disables AutoBaud.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言