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

Скачать "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"

input logo icon
Оглавление
|

Оглавление

2:09
connect the two uart ports
2:12
connect the debugger to our computer
2:53
install the cortex debug extension in vs code
5:58
connect your two pico boards
6:22
put the pico probe into bootloader mode
6:55
create a build directory
9:34
navigate to the build folder in your blink project
11:17
install the cortex debug extension
16:00
remove breakpoints by clicking on the red dots
Теги видео
|

Теги видео

intro
raspberry
pi
pico
rp2040
cc++
part
:
debug
picoprobe
digi-key
electronics
У вас уже установлен UDL Helper Вы можете скачивать видео в 1 клик!
Установлено
для
Google Chrome

Описание:

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

Готовим варианты загрузки

popular icon
Популярные
hd icon
HD видео
audio icon
Только звук
total icon
Все форматы
* — Если видео проигрывается в новой вкладке, перейдите в неё, а затем кликните по видео правой кнопкой мыши и выберите пункт "Сохранить видео как..."
** — Ссылка предназначенная для онлайн воспроизведения в специализированных плеерах

Вопросы о скачивании видео

mobile menu iconКак можно скачать видео "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"?mobile menu icon

  • Сайт http://unidownloader.com/ — лучший способ скачать видео или отдельно аудиодорожку, если хочется обойтись без установки программ и расширений. Расширение UDL Helper — удобная кнопка, которая органично встраивается на сайты YouTube, Instagram и OK.ru для быстрого скачивания контента.

  • Программа UDL Client (для Windows) — самое мощное решение, поддерживающее более 900 сайтов, социальных сетей и видеохостингов, а также любое качество видео, которое доступно в источнике.

  • UDL Lite — представляет собой удобный доступ к сайту с мобильного устройства. С его помощью вы можете легко скачивать видео прямо на смартфон.

mobile menu iconКакой формат видео "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics" выбрать?mobile menu icon

  • Наилучшее качество имеют форматы FullHD (1080p), 2K (1440p), 4K (2160p) и 8K (4320p). Чем больше разрешение вашего экрана, тем выше должно быть качество видео. Однако следует учесть и другие факторы: скорость скачивания, количество свободного места, а также производительность устройства при воспроизведении.

mobile menu iconПочему компьютер зависает при загрузке видео "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"?mobile menu icon

  • Полностью зависать браузер/компьютер не должен! Если это произошло, просьба сообщить об этом, указав ссылку на видео. Иногда видео нельзя скачать напрямую в подходящем формате, поэтому мы добавили возможность конвертации файла в нужный формат. В отдельных случаях этот процесс может активно использовать ресурсы компьютера.

mobile menu iconКак скачать видео "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics" на телефон?mobile menu icon

  • Вы можете скачать видео на свой смартфон с помощью сайта или pwa-приложения UDL Lite. Также есть возможность отправить ссылку на скачивание через QR-код с помощью расширения UDL Helper.

mobile menu iconКак скачать аудиодорожку (музыку) в MP3 "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"?mobile menu icon

  • Самый удобный способ — воспользоваться программой UDL Client, которая поддерживает конвертацию видео в формат MP3. В некоторых случаях MP3 можно скачать и через расширение UDL Helper.

mobile menu iconКак сохранить кадр из видео "Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 2: Debug with Picoprobe | Digi-Key Electronics"?mobile menu icon

  • Эта функция доступна в расширении UDL Helper. Убедитесь, что в настройках отмечен пункт «Отображать кнопку сохранения скриншота из видео». В правом нижнем углу плеера левее иконки «Настройки» должна появиться иконка камеры, по нажатию на которую текущий кадр из видео будет сохранён на ваш компьютер в формате JPEG.

mobile menu iconСколько это всё стоит?mobile menu icon

  • Нисколько. Наши сервисы абсолютно бесплатны для всех пользователей. Здесь нет PRO подписок, нет ограничений на количество или максимальную длину скачиваемого видео.