background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"

input logo icon
Video tags
|

Video tags

intro
raspberry
pi
pico
rp2040
cc++
part
:
debug
picoprobe
digi-key
electronics
You already have UDL Helper installed You can download video in 1 click!
Installed
for
Google Chrome

Description:

In the previous video (https://www.youtube.com/watch?v=B5rQSoOmR5w%29%2C we showed you how to configure VS Code to create simple C programs using the Pico SDK. This time, we install OpenOCD and GDB in order to provide step-through debugging of programs on the Raspberry Pi Pico. You can read a written version of this tutorial here: https://www.digikey.com/en/maker/projects/raspberry-pi-pico-and-rp2040-cc-part-2-debugging-with-vs-code/470abc7efb07432b82c95f6f67f184c0 Note that you will need a second Raspberry Pi Pico device to act as the debugger. We will program one Pico with the picoprobe firmware to act as the debugger. That device will be connected to the target device (which will run the blink program we created in the first tutorial) over SWD. We can use VS Code as a graphical debugger environment, which will call functions in GDB. GDB will send commands to OpenOCD, which runs as a server in the background. OpenOCD communicates with the picoprobe firmware over USB in order to control the target Pico. You will need to build the Pico-specific version of OpenOCD by following the guide in Appendix A of the Pico Getting Started Guide (https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf). If you are on Windows, you can also follow the guide here (https://shawnhymel.com/2168/how-to-build-openocd-and-picotool-for-the-raspberry-pi-pico-on-windows/ to build OpenOCD or download the pre-compiled executable here (https://www.dropbox.com/sh/xz9s3qxxelstd66/AABy2xlym93c_E__7rYeqtwaa?dl=0 To start, you will need to download and build the picoprobe firmware (https://github.com/raspberrypi/picoprobe). Upload the picoprobe.uf2 file to the debugger Pico after you put it into bootloader mode. If you are on Windows, you will need to install the libusb-win32 driver using Zadig (https://zadig.akeo.ie/). From there, you can install the Cortex-Debug and C/C++ extensions in VS Code. These will allow you to run OpenOCD and GDB in the background while giving you graphical tools to step through lines of code and peek at memory values. Product Links: https://www.digikey.com/en/products/detail/raspberry-pi/SC0915/13624793 Related Videos: Intro to MicroPython – Maker.io Tutorial - https://www.youtube.com/watch?v=3vnNCSnX7Ig Intro to Raspberry Pi Pico and RP2040: Part 1: VS Code and Blink - https://www.youtube.com/watch?v=B5rQSoOmR5w Part 2: Debug with Picoprobe - https://www.youtube.com/watch?v=jnC5LrTx470 Part 3: How to Use PIO - https://www.youtube.com/watch?v=JSis2NU65w8 Related Project Links: https://www.digikey.com/en/maker/projects/raspberry-pi-pico-and-rp2040-cc-part-2-debugging-with-vs-code/470abc7efb07432b82c95f6f67f184c0 Related Videos: Intro to MicroPython – Maker.io Tutorial - https://www.youtube.com/watch?v=3vnNCSnX7Ig Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 1: VS Code and Blink - https://www.youtube.com/watch?v=B5rQSoOmR5w Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe - https://www.youtube.com/watch?v=jnC5LrTx470 Related Articles: Introduction to MicroPython - https://www.digikey.com/en/maker/blogs/2018/introduction-to-micropython Raspberry Pi Pico and RP2040 - MicroPython Part 1 - https://www.digikey.com/en/maker/projects/raspberry-pi-pico-and-rp2040-micropython-part-1-blink/58b3c31ac93649849b58824caa00529c Learn more: Maker.io - https://www.digikey.com/en/maker Digi-Key’s Blog – TheCircuit https://www.digikey.com/en/blog Connect with Digi-Key on Facebook https://www.facebook.com/unsupportedbrowser And follow us on Twitter https://twitter.com/digikey

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.