GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - raspberrypi/debugprobe: Firmware source and binaries for the RP2040-based Debug Probe accessory

BranchesTags
Open more actions menu

Latest commit

 

History

147 Commits
147 Commits

Folders and files

NameName
Last commit message
Last commit date
CMSIS_DAP/CMSIS
CMSIS_DAP/CMSIS
 
 
freertos @ 682f051
freertos @ 682f051
 
 
include
include
 
 
src
src
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
FreeRTOS_Kernel_import.cmake
FreeRTOS_Kernel_import.cmake
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
get-version.sh
get-version.sh
 
 
pico_sdk_import.cmake
pico_sdk_import.cmake
 
 

Repository files navigation

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:

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

Initialize and update the submodules:

 git submodule update --init --recursive

Then create and switch to the build directory:

 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. PICO_SDK_PATH must point to a version 2.3.0 or greater install.

Run cmake and build the code:

 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 -DPICO_BOARD=pico option:

cmake -DPICO_BOARD=pico ..

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.
git submodule sync
git submodule update --init --recursive
mkdir build-pico2
cd build-pico2
cmake -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.

About

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

Resources

Readme
License
Activity
Custom properties

Stars

1.3k stars

Watchers

31 watching

Forks

380 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.