This video shows you how to debug the Raspberry Pi Pico using another Pico acting as a Picoprobe. We walk-through how to install the required dependencies to enable debugging inside Visual Studio Code (VSCode) and demonstrate simply how to add breakpoints and inspect register values. We debug a simple C blink LED program which was written in a previous video. This video also covers how to create a Picoprobe from a Raspberry Pi Pico, how to wire it to a target Pico and use it as a UART serial monitor as well as a debugger! By following this short tutorial you will be able to debug your C programs on your Pico in no time! The OpenOCD build and boilerplate code is available here: https://learnembeddedsystems.co.uk/133-2 Links to programs mentioned in this video: OpenOCD: https://learnembeddedsystems.co.uk/133-2 Picoprobe UF2: https://www.raspberrypi.org/documentation/rp2040/getting-started/ Zadig: https://zadig.akeo.ie/ Timestamps 00:00 Introduction 00:33 What will we need? 01:23 OpenOCD 02:18 USB Drivers 02:50 Picoprobe UF2 03:14 Pico Wiring 04:28 Testing Toolchain 06:09 Picoprobe UART to USB 06:35 Set up VSCode 07:40 launch.json 08:25 Debugging 10:28 Conclusion If this video helped you, please consider leaving a like and subscribing, thank you! To see my other videos on the Raspberry Pi Pico, check out the playlist here: https://www.youtube.com/playlist?list=PLEB5F4gTNK68IlRIJtcJ_2cW4dSdmreTw You can find more embedded systems tutorials and projects on my website https://learnembeddedsystems.co.uk -- Equipment I use regularly -- The following links are affiliate links where I may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed. Budget Soldering Iron: UK: https://amzn.to/3pQpvUu US: https://amzn.to/3bBawIJ Breadboards: UK: https://amzn.to/3solZCe US: https://amzn.to/3dGsHiS Jumper Cables: UK: https://amzn.to/37JfToi US: https://amzn.to/3r384S9 Camera: UK: https://amzn.to/3qKLwFr US: https://amzn.to/3pK0V7C Lens: UK: https://amzn.to/380lQxp US: https://amzn.to/3knH3WL Tripod: UK: https://amzn.to/37H0Nzw US: https://amzn.to/3byKHsV All videos and tutorials on this channel and mentioned websites are for educational purposes only.

PiHole on Raspberry Pi Tutorial – Your 2026 Guide! Ad & Tracker Blocking, Local DNS & More!
19.3K views
![Easy VSCode RP2040/2350 Toolchain Setup Guide Windows [Updated!]](https://img.youtube.com/vi/TJSyzF2w1Dc/mqdefault.jpg)
Easy VSCode RP2040/2350 Toolchain Setup Guide Windows [Updated!]
5.6K views

Self-Host Your Git Repos on a Raspberry Pi! Gitea self-hosting tutorial
13.6K views

Photon 2 Showcase! Easy ML Voice Assistant & IoT Motion Sensor Demos
4.1K views

Easy Home Server Dashboard – Cleanly Organise Your Homelab!
6.1K views
![FreeRTOS on the Raspberry Pi Pico (RP2040) Part 1: VSCode Setup and Blinky Test! [UPDATED]](https://img.youtube.com/vi/2cDpGoCyrHQ/mqdefault.jpg)
FreeRTOS on the Raspberry Pi Pico (RP2040) Part 1: VSCode Setup and Blinky Test! [UPDATED]
51.3K views