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
หน้าปกเครื่องเสียง
โปรดรอ เรากำลังเตรียมลิงก์สำหรับการรับชมและดาวน์โหลดวิดีโอแบบไม่มีโฆษณาอย่างง่ายดาย
console placeholder 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

  • คุณสามารถดาวน์โหลดวิดีโอลงในสมาร์ทโฟนของคุณได้โดยใช้เว็บไซต์ UDL Lite หรือแอปพลิเคชัน pwa นอกจากนี้ยังสามารถส่งลิงก์ดาวน์โหลดผ่านโค้ด 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 ไม่มีการจำกัดจำนวนหรือความยาวสูงสุดของวิดีโอที่ดาวน์โหลด