REAL Debugging Arduino + ESP32 | JTAG Programmer

  Переглядів 14,844

Electronoobs

Electronoobs

День тому

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: / @electronoobsenespanol
00:00 Intro
08:51 Thank You
Like share and subscribe to motivate me. Thank you
#debug
#platformio
#Arduino

КОМЕНТАРІ: 66
@weash33
@weash33 Місяць тому
The video I've been waiting for, for a long long time. Thank you very much !!!
@kayakMike1000
@kayakMike1000 Місяць тому
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 Місяць тому
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 Місяць тому
Fantastic tutorial. Usually this setup require hours of searching/trying/re-trying work to make the system working.
@lucdrouin2625
@lucdrouin2625 Місяць тому
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.
@MyCodingDiarie
@MyCodingDiarie Місяць тому
You have a gift for teaching. Truly remarkable!
@johndevires5911
@johndevires5911 Місяць тому
Brilliant! Thank you very much. 😉👍
@MyCodingDiarie
@MyCodingDiarie Місяць тому
Your videos always make my day. Keep shining!
@electronics.unmessed
@electronics.unmessed Місяць тому
Thanks a lot for that explanation. That really makes code development professional!
@troublehd7236
@troublehd7236 Місяць тому
Brilliant Tutorial, it is awesome, thank you so much
@jaroslawpiotrowski210
@jaroslawpiotrowski210 Місяць тому
Super videa, you save me a lot of time - Thank You!
@8822464613
@8822464613 Місяць тому
I guess new version of ESP, like S3 have JTAG built in. Even easier. 🥰🥰
@ranganatennakoon
@ranganatennakoon Місяць тому
YES super useful tutorial !
@roycas3
@roycas3 Місяць тому
Learned something new today.
@n.thenushan120
@n.thenushan120 Місяць тому
No worries you are doing great job❤
@buicaemanuel-valentin4301
@buicaemanuel-valentin4301 Місяць тому
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 Місяць тому
Thanks, brother for spreading the knowledge
@deadly_dave
@deadly_dave Місяць тому
Super helpful! More like this please.
@alessandrovichi761
@alessandrovichi761 Місяць тому
Very interesting tool. This upgrade arduino in a high level.Thank you very much for it
@hieroben
@hieroben Місяць тому
Finally - real debugging on an Arduino. That's gonna make a huge difference,
@kavinprakash7868
@kavinprakash7868 Місяць тому
it is a very useful video thanks bro
@savanladva1197
@savanladva1197 Місяць тому
worth to watch
@arcrobotics9982
@arcrobotics9982 Місяць тому
THis would be super helfpful and useful thanks
@korishan
@korishan Місяць тому
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.
@bobsponge9792
@bobsponge9792 6 днів тому
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!😀
@333donutboy
@333donutboy Місяць тому
Would the process for debugging an ESP8266 be the same as the ESP32? Great video and very helpful.
@NilsRohwer
@NilsRohwer Місяць тому
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
@TiagoDdA
@TiagoDdA Місяць тому
I gave up on arduino a long time ago. Much more efficient and powerful to use the native tools
@alexnewton3376
@alexnewton3376 Місяць тому
Great job. Visual Basic is great and better than Arduino IDE
@denispatel8373
@denispatel8373 Місяць тому
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
@HayBeseret
@HayBeseret Місяць тому
Thanks for the video ! -The jtag pinout is blured @7:57
@ELECTRONOOBS
@ELECTRONOOBS Місяць тому
Yeah, a small edit error. But you have the connections on the tutorial on the description
@larryknyc
@larryknyc Місяць тому
*** What is the large aluminum block plugged into the jtag board? Thank you for the videos
@ELECTRONOOBS
@ELECTRONOOBS Місяць тому
Is just an USB hub
@electroveins67
@electroveins67 Місяць тому
nice
@FrankMadero
@FrankMadero Місяць тому
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.
@alexm1126
@alexm1126 Місяць тому
I wish I knew about this earlier...
@user-nd2cg1yq2w
@user-nd2cg1yq2w Місяць тому
Привет Как передать gps координаты через ардуино или stm32 по wifi, по протоколу Cursor On Target (COT) на андройд ?
@KAMIPROJECTS
@KAMIPROJECTS Місяць тому
why esp32 pins were blur out in the video
@ELECTRONOOBS
@ELECTRONOOBS Місяць тому
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 Місяць тому
7:58 wiring of esp32 debugger is not visible please reupload the video
@user-xv5iw5zh4m
@user-xv5iw5zh4m Місяць тому
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.
@lohikarhu734
@lohikarhu734 18 днів тому
STM32?
@janisgs
@janisgs Місяць тому
have anyone successfully got debugger working using JTAG on the Macbook as well?
@janisgs
@janisgs Місяць тому
assuming same setup, VSCode, PlatformIO, ESP32
@shazanmahmud2973
@shazanmahmud2973 Місяць тому
arduino ide 2. 0 has buildin so no problem
@shazanmahmud2973
@shazanmahmud2973 Місяць тому
where is tutrial page
@ELECTRONOOBS
@ELECTRONOOBS Місяць тому
electronoobs.com/eng_arduino_tut195.php
@aliemlek
@aliemlek Місяць тому
👍👍👏👏👌👌
@algre977
@algre977 Місяць тому
Can you debug attiny ?
@Noxoreos
@Noxoreos Місяць тому
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.
@ms2649
@ms2649 Місяць тому
You accidentally blurred the pin connections making them impossible to read
@manu_thind
@manu_thind Місяць тому
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.
@jonathanusatinsky3052
@jonathanusatinsky3052 Місяць тому
You make great videos... You should make a Udemy course to diversify your income.
@ELECTRONOOBS
@ELECTRONOOBS Місяць тому
I already have my own courses but unfortunately they are just in Spanish for now...
@uwezimmermann5427
@uwezimmermann5427 Місяць тому
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 Місяць тому
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 Місяць тому
@@NoxoreosI was obviously referring to the first part of the video
@SkyTime
@SkyTime Місяць тому
Can you plz giveaway 1 DSO (digital signal oscilloscope) to me, its been 2years i am requesting almost everyone still didnt get.
@ugetridofit
@ugetridofit Місяць тому
If you need a debugger you just a poor programmer. All one needs is printf and /or a scope.
@Noxoreos
@Noxoreos Місяць тому
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 Місяць тому
earned an unsuscribe.
@Noxoreos
@Noxoreos Місяць тому
I'm pretty sure your comment was more important for the video than the subscription.
@tel5857
@tel5857 Місяць тому
Nice explanation
Homemade Laser Power Meter - Experiment
38:16
Electronoobs
Переглядів 7 тис.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
GreatScott!
Переглядів 462 тис.
Что будет с кроссовком?
00:35
Аришнев
Переглядів 2,2 млн
ВИРУСНЫЕ ВИДЕО / Мусорка 😂
00:34
Светлый Voiceover
Переглядів 8 млн
A very comprehensive ESP32 Debugging Guide.
12:21
J's e-shack
Переглядів 6 тис.
Homemade PCBs with Fiber Laser - 0.1mm Clearance
44:57
Electronoobs
Переглядів 213 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 190 тис.
Make a transmitter 12 channels using nRF24L01 and ESP32
14:48
Elec Channel
Переглядів 5 тис.
Debugging the Arduino Uno or Nano! (No extra hardware needed!)
6:58
J's e-shack
Переглядів 55 тис.
#224 🛑 STOP using Serial.print in your Arduino code! THIS is better.
26:39
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 509 тис.
you need to stop using print debugging (do THIS instead)
7:07
Low Level Learning
Переглядів 379 тис.
Homemade airsoft turret suspension diary
4:15
YuChung Lin
Переглядів 899 тис.
Samsung UE40D5520RU перезагружается, замена nand памяти
0:46
Слава 100пудово!
Переглядів 1,8 млн
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24
Как часто вы чистите свой телефон
0:33
KINO KAIF
Переглядів 2,1 млн
''Бесплатные умные'' домофоны для глупых людей. За чей счет банкет?
12:48
Вадим Шегалов.Оккультные игры элиты
Переглядів 32 тис.
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн