Title | : | ESP32 - DEBUGGING your ESP-IDF code using JTAG [VS CODE] |
Duration | : | 19:53 |
Viewed | : | 107,045 |
Published | : | 25-10-2021 |
Source | : | Youtube |
How to DEBUG your ESP32 IDF application inside Visual Studio Code using an external debugger tool. We'll be using the ESP-PROG, a JTAG hardware debugger from Espressif. Debugging is an essential skill for any serious firmware developer. It allows us to find problems and have an insight of what's happening in our code. ▶ DEBUGGER LINKS (Affiliate): ✔ Amazon (Faster shipping) ESP-PROG (Recommended): https://amzn.to/3ENsSDy FT2232H Generic : https://amzn.to/3B1Bxjp FT2232H Generic Dual Channel: https://amzn.to/3C0NG9G ✔ AliExpress (From China - Cheaper but slower shipping) ESP-PROG (Recommended): https://s.click.aliexpress.com/e/_A9n4lJ FT2232H Generic: https://s.click.aliexpress.com/e/_Ap4yQt FT2232H Generic Dual Channel: https://s.click.aliexpress.com/e/_9ycDvF ▶ My previous video from the ESP32 Series: https://youtu.be/5IuZ-E8Tmhg ▶ Watch the Quick Fix for IDF Terminal from the previous video: https://youtu.be/N93RvZz6dEc ▶ ESPRESSIF ESP-PROG Documentation: https://docs.espressif.com/projects/espressif-esp-iot-solution/en/latest/hw-reference/ESP-Prog_guide.html ▶ ESPRESSIF JTAG Documentation: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/jtag-debugging/index.html# - All emojis designed by OpenMoji – the open-source emoji and icon project. License: CC BY-SA 4.0 00:00 Introduction 00:54 Serial Terminal 02:01 External Debugger 02:40 Cool things to do 03:28 Next steps 03:40 Which debugger to buy 04:29 ESP-PROG Intro 05:51 ESP-PROG Connection 06:38 Updating the JTAG Driver 07:43 OpenOCD Setup 09:10 GDB Setup 11:21 Quick Debugger test 12:07 Automating OpenOCD 12:54 Solving reliability issues (IMPORTANT) 14:13 Firmware loading through the Debugger 14:37 ESP32's Memory Structure 15:12 Configuring memory addresses on GDB 16:28 Using the debugger (Example) 18:24 Bug explanation 19:15 Conclusion
![]() |
ESP32 - How to create your First ESP IDF projec... 13:11 - 90,897 |
![]() |
Extracting and Modifying Firmware with JTAG 21:03 - 39,195 |
![]() |
I Built an INFINITELY ONE-SIDED Violin?? 15:39 - 152,605 |
![]() |
ESP32 - FILESYSTEMS with ESP-IDF // How to use ... 13:00 - 24,345 |
![]() |
A very comprehensive ESP32 Debugging Guide. 12:21 - 11,025 |
![]() |
EEVblog #499 - What is JTAG and Boundary Scan? 28:59 - 467,484 |
![]() |
ESP32 Guide 2024 | Choosing and Using an ESP32 ... 41:06 - 271,607 |
![]() |
Everything You Need to Know about Debugging in ... 07:02 - 31,242 |