Do It Yourself – Tutorials – How to Debug the Raspberry Pi Pico Using Another Pico! – Picoprobe and VSCode Tutorial

by | Mar 7, 2021 | 0 comments

Do It Yourself – Tutorials – How to Debug the Raspberry Pi Pico Using Another Pico! – Picoprobe and VSCode Tutorial

by | Mar 7, 2021 | Do It Yourself - Build Your Own Website | 0 comments

Do It Yourself – Website Tutorials



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.

source

0 Comments

Submit a Comment

What Our Clients Are Saying

Travco RV

Leland lets me focus on running my business while he takes care of the digital marketing for us. He really...

Rod, Travco-Rv.com

Dieno Digital Marketing Services
5
2018-04-27T20:16:51+00:00

Rod, Travco-Rv.com

Leland lets me focus on running my business while he takes care of the digital marketing for us. He really takes care of our companies marketing with his expertise and has a lot of great ideas. We are very fortunate to  have him helping us with fresh new ideas.

British Columbia Coalition Of Motorcyclists

We've been working with Dieno Digital, for the past year and a half now and couldn't be happier with all...

Tara, British Columbia Coalition Of Motorcyclists

Dieno Digital Marketing Services
5
2018-04-27T22:05:28+00:00

Tara, British Columbia Coalition Of Motorcyclists

We've been working with Dieno Digital, for the past year and a half now and couldn't be happier with all the updates  to our website. Leland is always very responsive and able to answer all of questions or fix any issues in no time at all. We look forward to continuing to expanding and broadening our website with Dieno Digital.

Amplifylife.ca

Been working with Leland on a project for a Not-For-Profit organization and it is a pleasure to be able to...

Rob - Amplylife.ca

Dieno Digital Marketing Services
5
2018-05-03T19:49:40+00:00

Rob - Amplylife.ca

Been working with Leland on a project for a Not-For-Profit organization and it is a pleasure to be able to bring a high level of creativity, energy, expertise and professionalism to the project for their digital marketing needs. We are so excited for the chance to work more with Leland and Dieno Digital.

FS Designs

Leland is extremely knowledgeable and super pleasant to deal with. He helped me get my website running for my graphic...

F.S.

Dieno Digital Marketing Services
5
2018-06-19T18:50:18+00:00

F.S.

Leland is extremely knowledgeable and super pleasant to deal with. He helped me get my website running for my graphic design business and improved my SEO so that I appear more frequently and near the top of searches. He a great digital and web strategist and I would highly recommend his services.
5
4
Dieno Digital Marketing Services