{"id":13470712,"url":"https://github.com/raspberrypi/debugprobe","last_synced_at":"2025-05-14T20:07:57.262Z","repository":{"id":40894337,"uuid":"315362480","full_name":"raspberrypi/debugprobe","owner":"raspberrypi","description":"Firmware source and binaries for the RP2040-based Debug Probe accessory","archived":false,"fork":false,"pushed_at":"2025-03-27T15:53:57.000Z","size":114,"stargazers_count":883,"open_issues_count":25,"forks_count":240,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-06T14:03:53.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raspberrypi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-23T15:44:21.000Z","updated_at":"2025-04-01T13:27:13.000Z","dependencies_parsed_at":"2024-01-14T03:51:47.098Z","dependency_job_id":"d72755ba-c20a-4464-b090-be89cef0878e","html_url":"https://github.com/raspberrypi/debugprobe","commit_stats":{"total_commits":80,"total_committers":17,"mean_commits":4.705882352941177,"dds":0.35,"last_synced_commit":"46b9613d1412e5c73c4e2af13d604dc21d85c402"},"previous_names":["raspberrypi/picoprobe"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fdebugprobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fdebugprobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fdebugprobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fdebugprobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raspberrypi","download_url":"https://codeload.github.com/raspberrypi/debugprobe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248749350,"owners_count":21155677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:34.840Z","updated_at":"2025-04-13T16:48:31.571Z","avatar_url":"https://github.com/raspberrypi.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Debugprobe\n\nFirmware source for the Raspberry Pi Debug Probe SWD/UART accessory. Can also be run on a Raspberry Pi Pico.\n\n[Raspberry Pi Debug Probe product page](https://www.raspberrypi.com/products/debug-probe/)\n\n[Raspberry Pi Pico product page](https://www.raspberrypi.com/products/raspberry-pi-pico/)\n\n\n# Documentation\n\nDebug Probe documentation can be found at the [Raspberry Pi Microcontroller Documentation portal](https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html#about-the-debug-probe).\n\n# Hacking\n\nFor the purpose of making changes or studying of the code, you may want to compile the code yourself.\n\nFirst, clone the repository:\n```\ngit clone https://github.com/raspberrypi/debugprobe\ncd debugprobe\n```\nInitialize and update the submodules:\n```\n git submodule update --init --recursive\n```\nThen create and switch to the build directory:\n```\n mkdir build\n cd build\n```\nIf 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 `PICO_SDK_PATH=/path/to/sdk` to the arguments to CMake below.\n\nRun cmake and build the code:\n```\n cmake ..\n make\n```\nDone! You should now have a `debugprobe.uf2` that you can upload to your Debug Probe via the UF2 bootloader.\n\nIf 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:\n```\ncmake -DDEBUG_ON_PICO=ON ..\n```\n\nThis 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.\n\nNote 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.\n\n# Building for the Pico 2\n\nIf using an existing debugprobe clone:\n- You must completely regenerate your build directory, or use a different one.\n- You must also sync and update submodules as rp2350 needs a downstream FreeRTOS port for now.\n- `PICO_SDK_PATH` must point to a version 2.0.0 or greater install.\n\n\n```\ngit submodule sync\ngit submodule update --init\nmkdir build-pico2\ncd build-pico2\ncmake -DDEBUG_ON_PICO=1 -DPICO_BOARD=pico2 -DPICO_PLATFORM=rp2350 ../\n```\n\n# TODO\n- AutoBaud selection, as PIO is a capable frequency counter\n- Possibly include RTT support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspberrypi%2Fdebugprobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraspberrypi%2Fdebugprobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspberrypi%2Fdebugprobe/lists"}