J's e-shack
J's e-shack
  • 9
  • 383 803
A very comprehensive ESP32 Debugging Guide.
If you like what you saw and what I do, consider subscribing and tipping me!
☕ Buy me a coffee: ko-fi.com/jseshack
💌 Subscribe: www.youtube.com/@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-protected/ESP32debugging_guide
➡️ Tip me a few bucks here ko-fi.com/jseshack
and open an issue here github.com/jake-is-ESD-protected/ESP32debugging_guide/issues
Check out other videos!
🖥️ Command line on Arduino: ua-cam.com/video/UZwVQ9i-dcQ/v-deo.html
🖥️ Basics with PlatformIO: ua-cam.com/video/PYSy_PLjytQ/v-deo.html
🖥️ Debug your Arduino Uno or nano: ua-cam.com/video/7wx27FcluMg/v-deo.html
🖥️ OOP on Arduino: ua-cam.com/video/_84rkq9a5jE/v-deo.html
#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!
Переглядів: 9 695

Відео

Build your own OVERKILL ON AIR Sign with ESP32! | ON AIR-Series Part 1 Finite State Machine
Переглядів 6389 місяців тому
Build your own ON AIR sign with an ESP32! This is part 1 of the ON AIR miniseries, which will leave you with all the needed tools to turn your ESP32 into an efficient finite state machine. This will later be controlled by a web server and client, and I'll go over a custom PCB design and case design for 3D-printing! Stay tuned for the upcoming parts! If you like what you saw and what I do, consi...
COMMAND LINE on Arduino? Talk to your controller the right way!
Переглядів 2,2 тис.Рік тому
Talk to your Arduino the right way! Whether you want developer access, to simulate a hardware part that's not shipped yet or to use text as input for your embedded programs, this method shows you how you can quickly deploy a tiny command line interface (CLI) to your controller. Fast, without BS and to the point as always! If you like what you saw and what I do, consider subscribing and tipping ...
Stop being a corporate $LAVE! 9 FREE and OPEN SOURCE AI-tools!
Переглядів 3 тис.Рік тому
Partake in saving humanity by NOT throwing more and more money and attention at OpenAI! These FLOSS tools show that technology can be powered by the community for the community. A healthy AI-ecosystem has more than one tech giant at the top to ensure that everybody can have the same amount of power if they put in the effort. All mentioned sites: ➡️ Hugging Face: huggingface.co/ ➡️ GPT4all Repo:...
OOP IS CRINGE! Debugging your comments #1
Переглядів 770Рік тому
Your takes on Arduino, PlatformIO, debugging and OOP! ➡️ draw.io: www.draw.io/index.html ➡️ Get PlatformIO for VSCode: platformio.org/ 🖥️ Basics with PlatformIO: ua-cam.com/video/PYSy_PLjytQ/v-deo.html 🖥️ Debug your Arduino Uno or nano: ua-cam.com/video/7wx27FcluMg/v-deo.html 🖥️ OOP on Arduino: ua-cam.com/video/_84rkq9a5jE/v-deo.html 00:00 Intro 00:10 Starting with Arduino 00:24 Tool for fancy ...
Object Oriented Programming and MORE on Arduino!
Переглядів 11 тис.Рік тому
Learn OOP, clean project structure, abstraction, encapsulation and overloading, all on Arduino-Framework programmable devices! Become a PRO in no time! No more boring "cats and dogs" examples! ➡️ Project code: github.com/jake-is-ESD-protected/snowstorm ➡️ draw.io: www.draw.io/index.html ➡️ Get PlatformIO for VSCode: platformio.org/ 🖥️ Basics with PlatformIO: ua-cam.com/video/PYSy_PLjytQ/v-deo.h...
PlatformIO: All you need to know in 10 Minutes!
Переглядів 296 тис.Рік тому
Tired of the Arduino IDE? Looking for quick and easy to use alternatives for your embedded coding? Interested in some nice code highlighting, autocomplete, Intellisense and fully customizable overlays? Code for right about any board: Arduino, ESP32, STM32 and more! Migrate to PlatformIO today and start coding your projects with more joy and less BS! ➡️ platformio.ini variables: docs.platformio....
Debugging the Arduino Uno or Nano! (No extra hardware needed!)
Переглядів 60 тис.Рік тому
Straight forward, no additional hardware, no BS. Debug your Arduino Uno or Nano (almost) out of the box!
Semiconductor crisis be like
Переглядів 806Рік тому
Semiconductor crisis be like

КОМЕНТАРІ

  • @helvetiaresearch9973
    @helvetiaresearch9973 6 днів тому

    You should make more videos, they are great. I love the way you present them.

  • @MrKennykyle1
    @MrKennykyle1 9 днів тому

    meh ima stick with Arduino ide for now

  • @UnspokenSilence
    @UnspokenSilence 16 днів тому

    I really appreciate the help and explanation. It helped me get through some hurdles for starting off. I had almost given up on this. I was having issues with my arduino mega 2560, but following a reddit thread about starting the project using "Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)" instead of "...(microchip)" really did the trick for me. Thanks to you and others posting these tutorials and laying down a breadcrumb trail to help us find the solutions we need.

  • @balancosmin9258
    @balancosmin9258 16 днів тому

    De ce sa stie ce fac eu?

  • @sithumgimhan7650
    @sithumgimhan7650 17 днів тому

    Can i use a git hub code originally made for arduino in esp 32 ?

  • @stevenbennett6123
    @stevenbennett6123 17 днів тому

    I am astonished that I did not know this is possible, OK it's not a true debugger but it does the one thing that helps debug code i.e. it stops at breakpoints. I rarely need to know the value of the Program Counter and Registers when debugging and if I do I can turn to an STM32 product plus CubeIDE, the only true debugger I have found to be trouble-free. Great video and yes the presentation is very watchable. A bonus was that after actioning all the steps in the video, it actually worked! I have just subscribed - thank you J. PS Just upgraded to the latest version of Jan Dolinay's software i.e. v1.5 and when hitting a breakpoint I can see the values of all 32 registers and the Program Counter and Stack Pointer, I can also add variables to the Watch list and see them change as the code is stepped and finally view memory after setting a start point e.g. 0x8000 and the number of bytes to display e.g. 10.

  • @claushilman2703
    @claushilman2703 25 днів тому

    No,no, nothing from Microsoft, thanks.

  • @claushilman2703
    @claushilman2703 Місяць тому

    No, nothing from Microsoft, thanks.

  • @walterleinert2273
    @walterleinert2273 Місяць тому

    Hi, great tutorial! Since several days I try to get working the esp-prog/esp32 wroom debug platform on a windows11 workstation. Mostly I got the error window from VScode: "Failed to lauch DGB: .pioinit 12: Error in sourced command file: Protocol error with T´Rcmd (from interpreter-exec console "source .pioinit"). May one hoiur ago I could start the first two debugging sessions. But afterwards every try to start a debug session failed again. Has someone an idea what is going wrong. Eventually the is some hardware issue but currently I only have this hardware and cannot try another.

  • @c6jones720
    @c6jones720 Місяць тому

    Not being able to debug an Arduino is a good enough reason to choose a different chip. This is a game changer

  • @nathrm
    @nathrm Місяць тому

    now i understand when my friend talk about bule pill.. this must be what their mean... :-P

  • @bennguyen1313
    @bennguyen1313 Місяць тому

    Any thoughts on GeekFactory Shell Library , ajaykrishna97 gen_cli , erkia cli , matt001k openembeddedcli , brycekellogg TinyCLI , walidamriou EmbeddedCLI? Kevin Townsend (microbuilder eu) , Funbiscuit embedded-cli , breadboardos microshell?

  • @minhhoangle5056
    @minhhoangle5056 2 місяці тому

    I hate PlatformIO. because unknown and mysterious define configuration code! Just use Arduino IDE.

  • @Bicycleworkshop
    @Bicycleworkshop 2 місяці тому

    Thanks, bro! You saved me a lot of time.

  • @arlievsky
    @arlievsky 2 місяці тому

    could it be made to work with uno_r4_minima ? or do you know any software-only alternatives for this board?

  • @walterpark8824
    @walterpark8824 2 місяці тому

    Well, I HAVE still been using the arduino IDE, but I got only a minute through your overview, and said, I need this! Great, short tell-it-all.

  • @Atmatan_Kabbaher
    @Atmatan_Kabbaher 2 місяці тому

    You're like the Embedded Doke, with the same joke style and accent 😂

  • @billybbob18
    @billybbob18 2 місяці тому

    You should give the Arduino IDE a new look. It's now a full fledged development environment with a dark mode, syntax highlighting. More of the tools are easier to use and it's much faster than the old version. IDF is now fully supported.

  • @user-rk9py5cp2q
    @user-rk9py5cp2q 2 місяці тому

    anyway, this is f** amazing, thx bro👍

  • @user-zn9op3ti6g
    @user-zn9op3ti6g 3 місяці тому

    you remind me of one of the hackers from the film skyscraper on netflix

  • @kristoffersunnhordvik7590
    @kristoffersunnhordvik7590 3 місяці тому

    "Don´t be scared if you see this. Run.." (6:12)

  • @sanketss84
    @sanketss84 3 місяці тому

    Superb ❤

  • @alireza0994
    @alireza0994 3 місяці тому

    thanks a lot♥♥

  • @buffplums
    @buffplums 3 місяці тому

    Thank you very much for this. This has inspired me to switch to platformIO in studio code … thanks bud.

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 3 місяці тому

    Rarely 1% people using platform io.... this is not user friendly.... Who want to learn arduino programming.. ARDUINO IDE IS UNIQUE CHOICE

  • @sltechgalaxy1677
    @sltechgalaxy1677 3 місяці тому

    thanks man

  • @SamA.-tr2xt
    @SamA.-tr2xt 3 місяці тому

    For anyone having issues: I was able to upload to my Arduino Nano through the Arduino IDE, but PlatformIO wasn't able to upload to it. It kept failing with an avrdude error in the Debug Console. All you have to do is go to the platformio.ini configuration file and change board = uno

  • @jman4715
    @jman4715 3 місяці тому

    To the point and delivered with dry humor and sarcasm. What more could a person want? Great job!

  • @manclt704
    @manclt704 3 місяці тому

    @jse-shack825 Some people sometimes don't like taking a straightforward path to reach a destination; they prefer convoluted and confusing routes. For instance, if they need to go north, they will first head west, then turn south, then east, and finally north. If you are such a person, PlatformIO is best for you. Otherwise, you can continue to use the Arduino IDE.

  • @Wil_Bloodworth
    @Wil_Bloodworth 3 місяці тому

    Excellent video overall! Thank you. The "Test" icon is not specifically for TDD (Test Driven Development) which is a software development "philosophy" of writing unit tests before you write any actual code. The Tests button is just a shortcut to the area where you create/store unit tests... which should never be confused with TDD. One is a philosophy, the other is simply unit tests. You can write unit tests all day long without adopting TDD. It's fine... you skipped over all the testing areas because you don't know anything about it and that's perfectly fine... no one "young" ever wants to write tests. Also, git is not an "archiving" system. It is a distributed version control system. Before everyone accuses me of just being a dick... which is exactly how I know the above will be received, know that I mean it in a constructive way. The only reason I mention it is because I know you will do well in both software and UA-cam and will end up with many followers. Those YT followers will listen to everything you say and take it for fact without question... and possibly learn some things that may not be 100% correct. Were you wrong per se... eh, not really. What I'm saying, or asking rather, is that as an influencer you make sure to use the correct terminology... or at least as close as possible so people don't have to unlearn the stuff later. Like I said at the top, excellent video! And yes, the Arduino IDE blows and VSCode is a much better solution. Subscribed.

  • @rickylarsen458
    @rickylarsen458 3 місяці тому

    First of all, never code in arduino terms, only use anscci C, because in time critical applications you will have a large issue, Second, you will never have accesses to registers view, whitch is fundemental for debugging professional, so dont use this method, bye an Atmel Ice, get rid of the arduione bootloader, and code in Ansci C, the only way to do this right

  • @user-uh2lf1hn8d
    @user-uh2lf1hn8d 3 місяці тому

    nice

  • @bussi7859
    @bussi7859 3 місяці тому

    Get a shave by washing your face

  • @antoniodomit2782
    @antoniodomit2782 4 місяці тому

    This looks great. but I haven't been able to make it work. It compiles well. Uloads well and the it says .pioinit:13: Error in sourced command file: COM9: No such file or directory. Can you help me? Thank you

    • @catto88
      @catto88 2 місяці тому

      change COM9 to your own port...

  • @MS-fp5jq
    @MS-fp5jq 4 місяці тому

    would this work with expressif nano esp32?

  • @christianlingurar7085
    @christianlingurar7085 4 місяці тому

    I compared platforms for now 6 months. For a hobbyist platformio doesn't make any sense. it's overloaded, complicated and of course 90% of features are useless for 99% of cases. extremely overfeatured. I uninstalled it today. wasted storage space. to be honest, I did never understand for whom this software is meant. I don't think that there are more than 100 productive instances in the whole world.

  • @tim0steele
    @tim0steele 4 місяці тому

    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 3 місяці тому

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

  • @elcalvo4416
    @elcalvo4416 4 місяці тому

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

  • @sulcusulnaris
    @sulcusulnaris 4 місяці тому

    plattformio is totally overloaded. if you click somewhere, something new is constantly being started. i hate it

  • @redikaak9986
    @redikaak9986 4 місяці тому

    Turbo pascal is joinning the chat..

  • @joseantoniogambin9609
    @joseantoniogambin9609 4 місяці тому

    Microsoft and Visual Studio Sucks

  • @koyacrab
    @koyacrab 4 місяці тому

    0:15 💅style grace usability ✨☝️🤌 *uses turbo c*

  • @wobblyrampack9655
    @wobblyrampack9655 4 місяці тому

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

    • @joppower6701
      @joppower6701 2 місяці тому

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

  • @iam5085
    @iam5085 4 місяці тому

    Amazing. Can I do c# too, or is that too much to ask?

  • @dominikgs
    @dominikgs 4 місяці тому

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

  • @z3my4l
    @z3my4l 4 місяці тому

    What about variable values?

  • @harry4516
    @harry4516 4 місяці тому

    I have tried PlattformIO a couple of times, but for me it is a big chaos and far away from being user friendly.

  • @noel1637
    @noel1637 4 місяці тому

    Ahem... I use vi...

  • @drulli1
    @drulli1 4 місяці тому

    Hi, a breakpoint is usually used to read out the content of some variables, to understand where a mismatch in our coding is coming from. Can we monitor the value of variables with this "debugger-like" tool? I guess not..

  • @JAYDELROSARIQ
    @JAYDELROSARIQ 5 місяців тому

    ATMEL MATEL .. STOPPED STEALING JYQUÑqR