A very comprehensive ESP32 Debugging Guide.
Vložit
- čas přidán 2. 06. 2024
- If you like what you saw and what I do, consider subscribing and tipping me!
☕ Buy me a coffee: ko-fi.com/jseshack
💌 Subscribe: / @jse-shack825
Debug your ESP32 WROOM or ESP32-C3 and learn some pretty cool stuff about ESP32 controllers in general in this easy to follow guide aimed at both Windows and Linux users!
Mentioned links:
➡️ Repo: github.com/jake-is-ESD-protec...
➡️ Tip me a few bucks here ko-fi.com/jseshack
and open an issue here github.com/jake-is-ESD-protec...
Check out other videos!
🖥️ Command line on Arduino: • COMMAND LINE on Arduin...
🖥️ Basics with PlatformIO: • PlatformIO: All you ne...
🖥️ Debug your Arduino Uno or nano: • Debugging the Arduino ...
🖥️ OOP on Arduino: • Object Oriented Progra...
#arduino
#embeddedsystems
#esp32
#esp32wroom
#esp32c3
#debugging
#esp32project
00:00 Intro
00:24 ESP32 WROOM Debugging
02:00 WROOM drivers for Windows
03:00 WROOM drivers for Linux
03:36 Debugging the WROOM in PIO
06:36 Debugging caveats
07:03 Possible errors and fixes
08:06 Additional (and important!) notes on the ESP-PROG
10:06 ESP32 C3 debugging
10:53 C3 drivers for Windows
11:15 C3 drivers for Linux
11:27 Debugging the C3 in PIO
11:46 Further issues? I'll help you! - Věda a technologie
I forgot to mention that VSCodium requires a few extra steps to get PlatformIO to run. This is a one-time setup:
1. Download the C/C++ extension from the Microsoft VSCode store as .vsix file
2. In VSCodium, head to the extensions tab and click the little breadcrumbs menu at the top right of the extensions tab
3. Click "install from VSIX..." and navigate to the file you just downloaded
4. Do the same process for the PlarformIO extension
Why?
The C/C++ extension belongs to Microsoft and they prevent any unlicensed software from accessing its extensions via the online store. However, you can still install them manually as described above. As PlatformIO relies on this extension, you will get an error or not even find it in the native extensions tab. Be careful that you first install the C/C++ extension and THEN PlatformIO. Happy debugging!
Excellent, thanks for those pointers, worked like a charm. 👏
Love the short and detailed video.
THX for this very nice and clear step by step explanation! Perhaps now I can finally get the debugger to work.
Thank you for making this
This is some good shit! Don't stop making videos. I'm looking forward to more of your FreeRTos Videos.!
That's very helpful, thank you. Presumably if you have a devkit like ESP32-C3 Super Mini that already wires the usb pins through to the socket then no hardware hacking at all is needed.
Yes, and the ESP32-S3 has the same features on its second USB-C port labled USB-OTG. Very nice and simple.
Please cover the topic of writing tests with VSCode + PlatformIO. Thank you for your previous videos :)
Unit testing would be interesting!
Terrific video, thank you! Wondering where you got that wide breadboard? Standard breadboard does not fit ESP32 well! Thanks.
I used 2 of them together… in my breadboards powelines + - was removables too
Bro pls help me out with the ESP32C3 Lyra V2, im Lost!!! this one has the esp32c3wroom2 but GPIO 18 and 19 (D+ and D-) has no Jumper pins to connect them to the USB. There is a USB to AURT Port I have tried to make It work as USB to JTAG but its not working either🥹.
Cooles video mach weiter so. (Ich riche das du deutsch sprichst)
Afaik ist er Niederländer
Dann war ich nahe dran wenigstens @@MrPeercraft
Awesome
I love your project very much, I am a university student in China, I would like to ask you about the ESP32 development board, I wonder if you are available?!!
Interesting. I thought platformio was not supported in vscodium 🤔 I'll have to try again as I have it working fine in vscode but would prefer to use vscodium.
You are absolutely right, see my pinned comment for a fix!