REAL Debugging Arduino + ESP32 | JTAG Programmer

Поделиться
HTML-код
  • Опубликовано: 9 июн 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
  • НаукаНаука

Комментарии • 69

  • @weash33
    @weash33 2 месяца назад +11

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

  • @kayakMike1000
    @kayakMike1000 2 месяца назад +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 2 месяца назад +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.

  • @johndevires5911
    @johndevires5911 2 месяца назад +5

    Brilliant! Thank you very much. 😉👍

  • @stefano.a
    @stefano.a 2 месяца назад +1

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

  • @jaroslawpiotrowski210
    @jaroslawpiotrowski210 2 месяца назад +4

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

  • @lucdrouin2625
    @lucdrouin2625 2 месяца назад

    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.

  • @electronics.unmessed
    @electronics.unmessed 2 месяца назад +1

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

  • @MyCodingDiarie
    @MyCodingDiarie 2 месяца назад

    Your videos always make my day. Keep shining!

  • @MyCodingDiarie
    @MyCodingDiarie 2 месяца назад +1

    You have a gift for teaching. Truly remarkable!

  • @troublehd7236
    @troublehd7236 2 месяца назад

    Brilliant Tutorial, it is awesome, thank you so much

  • @roycas3
    @roycas3 2 месяца назад +2

    Learned something new today.

  • @ranganatennakoon
    @ranganatennakoon 2 месяца назад +1

    YES super useful tutorial !

  • @hieroben
    @hieroben 2 месяца назад +1

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

  • @deadly_dave
    @deadly_dave 2 месяца назад

    Super helpful! More like this please.

  • @anshumanmohanty5390
    @anshumanmohanty5390 2 месяца назад

    Thanks, brother for spreading the knowledge

  • @alessandrovichi761
    @alessandrovichi761 2 месяца назад

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

  • @buicaemanuel-valentin4301
    @buicaemanuel-valentin4301 2 месяца назад

    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.

  • @n.thenushan120
    @n.thenushan120 2 месяца назад

    No worries you are doing great job❤

  • @thebarn9413
    @thebarn9413 17 дней назад

    Thx, so many details missed by others

  • @korishan
    @korishan 2 месяца назад

    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.

  • @8822464613
    @8822464613 2 месяца назад +4

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

  • @kavinprakash7868
    @kavinprakash7868 2 месяца назад +1

    it is a very useful video
    thanks bro

  • @arcrobotics9982
    @arcrobotics9982 2 месяца назад

    THis would be super helfpful and useful thanks

  • @bobsponge9792
    @bobsponge9792 Месяц назад

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

  • @savanladva1197
    @savanladva1197 2 месяца назад

    worth to watch

  • @NilsRohwer
    @NilsRohwer 2 месяца назад

    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

  • @333donutboy
    @333donutboy 2 месяца назад

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

  • @alexnewton3376
    @alexnewton3376 2 месяца назад

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

  • @denispatel8373
    @denispatel8373 2 месяца назад

    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

  • @TiagoDdA
    @TiagoDdA 2 месяца назад

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

  • @larryknyc
    @larryknyc 2 месяца назад

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

  • @HayBeseret
    @HayBeseret 2 месяца назад

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

    • @ELECTRONOOBS
      @ELECTRONOOBS  2 месяца назад +1

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

  • @minhhoangle5056
    @minhhoangle5056 26 дней назад

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

  • @alexm1126
    @alexm1126 2 месяца назад

    I wish I knew about this earlier...

  • @electroveins67
    @electroveins67 2 месяца назад +1

    nice

  • @FrankP83
    @FrankP83 19 дней назад

    can you make a video on the new Arduino IDE 2.3.2 that include aready a debugger?!

  • @DenisUsvh
    @DenisUsvh 2 месяца назад

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

  • @FrankMadero
    @FrankMadero 2 месяца назад

    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.

  • @KAMIPROJECTS
    @KAMIPROJECTS 2 месяца назад +1

    why esp32 pins were blur out in the video

    • @ELECTRONOOBS
      @ELECTRONOOBS  2 месяца назад +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

  • @lifeai1889
    @lifeai1889 2 месяца назад

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

  • @shazanmahmud2973
    @shazanmahmud2973 2 месяца назад +1

    arduino ide 2. 0 has buildin so no problem

  • @aliemlek
    @aliemlek 2 месяца назад

    👍👍👏👏👌👌

  • @janisgs
    @janisgs 2 месяца назад +1

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

    • @janisgs
      @janisgs 2 месяца назад

      assuming same setup, VSCode, PlatformIO, ESP32

  • @shazanmahmud2973
    @shazanmahmud2973 2 месяца назад +1

    where is tutrial page

    • @ELECTRONOOBS
      @ELECTRONOOBS  2 месяца назад +1

      electronoobs.com/eng_arduino_tut195.php

  • @user-xv5iw5zh4m
    @user-xv5iw5zh4m 2 месяца назад

    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 2 месяца назад

    You accidentally blurred the pin connections making them impossible to read

  • @algre977
    @algre977 2 месяца назад

    Can you debug attiny ?

    • @Noxoreos
      @Noxoreos 2 месяца назад

      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.

  • @jonathanusatinsky3052
    @jonathanusatinsky3052 2 месяца назад

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

    • @ELECTRONOOBS
      @ELECTRONOOBS  2 месяца назад

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

  • @uwezimmermann5427
    @uwezimmermann5427 2 месяца назад

    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 2 месяца назад +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 2 месяца назад

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

  • @manu_thind
    @manu_thind 2 месяца назад +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.

  • @SkyTime
    @SkyTime 2 месяца назад

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

  • @ugetridofit
    @ugetridofit 2 месяца назад

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

    • @Noxoreos
      @Noxoreos 2 месяца назад

      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 2 месяца назад

    earned an unsuscribe.

    • @Noxoreos
      @Noxoreos 2 месяца назад

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

  • @tel5857
    @tel5857 2 месяца назад

    Nice explanation