A very comprehensive ESP32 Debugging Guide.

Sdílet
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

Komentáře • 24

  • @jse-shack825
    @jse-shack825  Před 4 měsíci +3

    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!

    • @chinleybrewer
      @chinleybrewer Před 4 měsíci

      Excellent, thanks for those pointers, worked like a charm. 👏

  • @saikhamhein
    @saikhamhein Před 4 měsíci

    Love the short and detailed video.

  • @dominikgs
    @dominikgs Před 3 měsíci

    THX for this very nice and clear step by step explanation! Perhaps now I can finally get the debugger to work.

  • @jeremytubongbanua7399
    @jeremytubongbanua7399 Před 4 měsíci

    Thank you for making this

  • @MrPeercraft
    @MrPeercraft Před 4 měsíci

    This is some good shit! Don't stop making videos. I'm looking forward to more of your FreeRTos Videos.!

  • @tim0steele
    @tim0steele Před 3 měsíci +1

    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.

    • @thorntontarr2894
      @thorntontarr2894 Před 2 měsíci

      Yes, and the ESP32-S3 has the same features on its second USB-C port labled USB-OTG. Very nice and simple.

  • @gorjandzundev413
    @gorjandzundev413 Před 4 měsíci +2

    Please cover the topic of writing tests with VSCode + PlatformIO. Thank you for your previous videos :)

    • @yaboiii
      @yaboiii Před 3 měsíci

      Unit testing would be interesting!

  • @wobblyrampack9655
    @wobblyrampack9655 Před 3 měsíci

    Terrific video, thank you! Wondering where you got that wide breadboard? Standard breadboard does not fit ESP32 well! Thanks.

    • @joppower6701
      @joppower6701 Před měsícem

      I used 2 of them together… in my breadboards powelines + - was removables too

  • @elcalvo4416
    @elcalvo4416 Před 3 měsíci

    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🥹.

  • @robotix_47
    @robotix_47 Před 4 měsíci

    Cooles video mach weiter so. (Ich riche das du deutsch sprichst)

    • @MrPeercraft
      @MrPeercraft Před 4 měsíci

      Afaik ist er Niederländer

    • @robotix_47
      @robotix_47 Před 4 měsíci

      Dann war ich nahe dran wenigstens @@MrPeercraft

  • @fukkenPavlo
    @fukkenPavlo Před 4 měsíci

    Awesome

  • @qinzhongle
    @qinzhongle Před 4 měsíci

    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?!!

  • @chinleybrewer
    @chinleybrewer Před 4 měsíci

    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.

    • @jse-shack825
      @jse-shack825  Před 4 měsíci +1

      You are absolutely right, see my pinned comment for a fix!