REAL Debugging Arduino + ESP32 | JTAG Programmer

Sdílet
Vložit
  • čas přidán 20. 05. 2024
  • High quality PCB prototypes: www.pcbway.com
    🔥This is how you actually make a debug for an Arduino code using virtual code studio, platformIO. Also a JTAG programmer for ESP32 debug.
    🔀LINKS
    -------------------------------------
    Tutorial Page: electronoobs.com/eng_arduino_...
    JTAG Programmer: s.click.aliexpress.com/e/_DkB...
    My tools: electronoobs.com/eng_afiliate...
    False/True T-Shirt: teespring.com/it-s-funny-beca...
    🤝SUPPORT
    -------------------------------------
    Join my Arduino Course (Spanish): bit.ly/2JY8icE
    ELECTRONOOBS.io: electronoobs.io
    Donate on PayPal: www.paypal.com/donate?hosted_...
    Help my projects on Patreon : / electronoobs
    my Q&A page: electronoobs.io/forum/index.php
    Facebook page: / electronoobs
    Canal en Español: / electronoobs en español
    00:00 Intro
    08:51 Thank You
    Like share and subscribe to motivate me. Thank you
    #debug
    #platformio
    #Arduino
  • Věda a technologie

Komentáře • 67

  • @weash33
    @weash33 Před 2 měsíci +11

    The video I've been waiting for, for a long long time. Thank you very much !!!

  • @kayakMike1000
    @kayakMike1000 Před 2 měsíci +8

    Well... This was my main argument _against_ Arduino. No real debugging, so it would seem I am not the only one to see this gap.

  • @evanbarnes9984
    @evanbarnes9984 Před 2 měsíci +3

    Super helpful! I'm working on a huge program on the Nano and I really need to be able to inspect the values of several variables during execution to be able to see where it's breaking down. This is super helpful.

  • @stefano.a
    @stefano.a Před 2 měsíci +1

    Fantastic tutorial. Usually this setup require hours of searching/trying/re-trying work to make the system working.

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

    Now that was something new and innovative! Congratulation! You continue to provide consistent and useful instructional and informative videos. Professionals and hobbyists really like that.

  • @johndevires5911
    @johndevires5911 Před 2 měsíci +5

    Brilliant! Thank you very much. 😉👍

  • @MyCodingDiarie
    @MyCodingDiarie Před 2 měsíci +1

    You have a gift for teaching. Truly remarkable!

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

    I guess new version of ESP, like S3 have JTAG built in. Even easier. 🥰🥰

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

    Super videa, you save me a lot of time - Thank You!

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

    Your videos always make my day. Keep shining!

  • @electronics.unmessed
    @electronics.unmessed Před 2 měsíci +1

    Thanks a lot for that explanation. That really makes code development professional!

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

    Brilliant Tutorial, it is awesome, thank you so much

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

    Learned something new today.

  • @ranganatennakoon
    @ranganatennakoon Před 2 měsíci +1

    YES super useful tutorial !

  • @buicaemanuel-valentin4301
    @buicaemanuel-valentin4301 Před 2 měsíci

    Bravo, de un am de zile folosesc și eu Visual studio Code cu funcție de debugg, dacă vrei să faci un proiect mai complex, nu ai altă variantă decât să folosești un degugger adevărat.

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

    Thanks, brother for spreading the knowledge

  • @n.thenushan120
    @n.thenushan120 Před 2 měsíci

    No worries you are doing great job❤

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

    Super helpful! More like this please.

  • @kavinprakash7868
    @kavinprakash7868 Před 2 měsíci +1

    it is a very useful video
    thanks bro

  • @hieroben
    @hieroben Před 2 měsíci +1

    Finally - real debugging on an Arduino. That's gonna make a huge difference,

  • @bobsponge9792
    @bobsponge9792 Před 22 dny

    Could someone explain what the last piece of hardware is that is being connected to the JTAG USB Programmer at minute 7:56? Is it a normal USB hub?
    Great Video!😀

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

    Very interesting tool. This upgrade arduino in a high level.Thank you very much for it

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

    fantastic discover,
    i am try =ing to use this thing with arduino mega but getting error for cant open source file for both of library "avr8-stud.h" and "app_api.h", and you help with that

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

    THis would be super helfpful and useful thanks

  • @333donutboy
    @333donutboy Před 2 měsíci

    Would the process for debugging an ESP8266 be the same as the ESP32? Great video and very helpful.

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

    Just came across a video on Twitter of "Touchable Flames". The "flames" are made from water vapor and red led lights. It looks like flames, even while putting your hands through the misting.

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

    I gave up on arduino a long time ago. Much more efficient and powerful to use the native tools

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

    *** What is the large aluminum block plugged into the jtag board? Thank you for the videos

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

    This is really great for the Arduino! Thank you.
    A shame about the esp32 (and 8266?) as so many pins are used in the debugging process.
    Still, this is very cool, thanks

  • @minhhoangle5056
    @minhhoangle5056 Před 6 dny

    How do I debug ESP32 in Arduino IDE ? I don't want use PlatformIO because it is mysterious define configuration code.

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

    worth to watch

  • @user-nd2cg1yq2w
    @user-nd2cg1yq2w Před 2 měsíci

    Привет
    Как передать gps координаты через ардуино или stm32 по wifi, по протоколу Cursor On Target (COT) на андройд ?

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

    Great job. Visual Basic is great and better than Arduino IDE

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

    Thanks for the video ! -The jtag pinout is blured @7:57

    • @ELECTRONOOBS
      @ELECTRONOOBS  Před 2 měsíci +1

      Yeah, a small edit error. But you have the connections on the tutorial on the description

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

    A word of warning about VSCode remote debugging more than 5 threads, its can be very unrespnsive. Additionally VSCode will have trouble with overloaded symbols in Ada code, it basically wont be able to send the full scoped variable to select the one of interest. So for small projects 3 or less threads than its ok.

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

    7:58 wiring of esp32 debugger is not visible please reupload the video

  • @electroveins67
    @electroveins67 Před 2 měsíci +1

    nice

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

    I wish I knew about this earlier...

  • @KAMIPROJECTS
    @KAMIPROJECTS Před 2 měsíci +1

    why esp32 pins were blur out in the video

    • @ELECTRONOOBS
      @ELECTRONOOBS  Před 2 měsíci +1

      Edit error. The schematic should be on top of the blur so you could see it. Sorry. I'll place the schematic in the description in a moment

  • @janisgs
    @janisgs Před měsícem +1

    have anyone successfully got debugger working using JTAG on the Macbook as well?

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

      assuming same setup, VSCode, PlatformIO, ESP32

  • @shazanmahmud2973
    @shazanmahmud2973 Před 2 měsíci +1

    arduino ide 2. 0 has buildin so no problem

  • @user-xv5iw5zh4m
    @user-xv5iw5zh4m Před 2 měsíci

    If you start using anything else than the arduino ide, then I don't see the point of sticking to arduino boards. Just start using some proper uC with proper SDKs and proper debugging.

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

    You accidentally blurred the pin connections making them impossible to read

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

    Can you debug attiny ?

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

      No. The "debug" solution for Arduino is actually just a debug emulation (that's why it is called a "stub"), that goes through the serial port. It does not support all the features of a real debugger and It can not debug every program. Further it uses additional space in the program memory, because it is implemented in software through the additional library. The ATTiny has not much space to begin with and the serial connection might be causing issues as well.
      The ESP32 on the other hand does support "real" debugging, but it also uses more pins for debugging.

  • @shazanmahmud2973
    @shazanmahmud2973 Před 2 měsíci +1

    where is tutrial page

    • @ELECTRONOOBS
      @ELECTRONOOBS  Před 2 měsíci +1

      electronoobs.com/eng_arduino_tut195.php

  • @manu_thind
    @manu_thind Před 2 měsíci +3

    Simple cheap brushed drone, coreless motors+esp32+A.I coding, pls create at least one AI coding based simple project in future to explain AI coding capability.

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

    There is only one problem: if you also want to use Serial for regular communication between your Arduino code and your PC, then this way of debugging doesn't work. But it's good to see yet another youtuber to finally switch to PlatformIO!

    • @Noxoreos
      @Noxoreos Před měsícem +1

      If you're talking about the Arduino Nano (or uno, or mega), then yes. With ESP32 and a JTAG debugger you can still do that (also esp32 has more than one serial port that can be used)

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

      @@NoxoreosI was obviously referring to the first part of the video

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

    👍👍👏👏👌👌

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

    You make great videos... You should make a Udemy course to diversify your income.

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

      I already have my own courses but unfortunately they are just in Spanish for now...

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

    Can you plz giveaway 1 DSO (digital signal oscilloscope) to me, its been 2years i am requesting almost everyone still didnt get.

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

    If you need a debugger you just a poor programmer. All one needs is printf and /or a scope.

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

      Being a professional software developer, I can tell you that it can't be further from the truth. Debuggers allow you to deeply investigate your code and make it safe and efficient, while not requiring to recompile every few minutes and waste a lot of time. It is simply impossible to achieve the same with simple print statements. People who can't operate a debugger will always be inefficient and earn less, becasue the need significantly more time for the same task and still can't prove their code to be relieable.

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

    earned an unsuscribe.

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

      I'm pretty sure your comment was more important for the video than the subscription.

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

    Nice explanation