#261
Ralph S Bacon Ralph S Bacon
53.7K subscribers
24,819 views
769

 Published On Mar 10, 2023

Debug your ESP32 the proper way - line-by-line with a cheap JTAG module!
JLCPCB 1-8 Layer PCB at $2. PCBA from $0 (Free Setup, Free Stencil)
Sign Up Here to Get $54 New User Coupons at - https://jlcpcb.com/?from=SKL

More information than you can shake an ESP32 at:
https://github.com/RalphBacon/261-ESP...

Rather than use a lot of Serial.print statements in your code, just connect up a cheap JTAG module from Espressif (the designers of the ESP32) to be able to step through your code a line at a time.

Hardware
► ESP-PROG (about $12 + shipping + taxes)
► Documentation #1: https://bit.ly/ESP32_Intro
► Documentation #2: https://docs.platformio.org/en/latest...
► Documentation #3: https://cdn.robotshop.com/media/s/spa...

ESP32 MiniKit Debug Shield (for ESP32 Mini) by Brian Lough
► https://store.eplop.co.uk/product/esp...

Software
► Driver for ESP-PROG using Zadig: https://zadig.akeo.ie/#

Essential reading, step-by-step!
► ESP-Prog (Espressif): https://docs.platformio.org/en/latest...
► How To Install:   / low-cost-esp32-in-circuit-debugging  
► How to Use: https://www.hackster.io/brian-lough/u...
► More How To: https://www.visualmicro.com/page/ESP3...

Boards I've found to work reliably
► ESP32 Mini T7 v1.3
► TTGO ESP32 V1.8 / V1.7.1
► Espressif ESP32 DevKit 1
Basically, all the boards I own with a lidded "module" on them do not work. You get an error about being unable to get the memory maps.🤷
This is unfortunate (for me) as I have many WROOM and WROVER modules!

► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...

► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey

My channel, GitHub and blog are here:
\------------------------------------------------------------------
•    / ralphbacon  
• https://ralphbacon.blog
• https://github.com/RalphBacon
• https://buymeacoffee.com/ralphbacon
\------------------------------------------------------------------

My ABOUT page with email address:    / ralphbacon  

show more

Share/Embed