REAL Debugging Arduino + ESP32 | JTAG Programmer

  Рет қаралды 16,887

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: / 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 3 ай бұрын
The video I've been waiting for, for a long long time. Thank you very much !!!
@evanbarnes9984
@evanbarnes9984 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.
@kayakMike1000
@kayakMike1000 3 ай бұрын
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.
@stefano.a
@stefano.a 3 ай бұрын
Fantastic tutorial. Usually this setup require hours of searching/trying/re-trying work to make the system working.
@lucdrouin2625
@lucdrouin2625 3 ай бұрын
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 3 ай бұрын
Brilliant! Thank you very much. 😉👍
@electronics.unmessed
@electronics.unmessed 3 ай бұрын
Thanks a lot for that explanation. That really makes code development professional!
@jaroslawpiotrowski210
@jaroslawpiotrowski210 3 ай бұрын
Super videa, you save me a lot of time - Thank You!
@MyCodingDiarie
@MyCodingDiarie 3 ай бұрын
You have a gift for teaching. Truly remarkable!
@MyCodingDiarie
@MyCodingDiarie 3 ай бұрын
Your videos always make my day. Keep shining!
@ranganatennakoon
@ranganatennakoon 3 ай бұрын
YES super useful tutorial !
@roycas3
@roycas3 3 ай бұрын
Learned something new today.
@troublehd7236
@troublehd7236 3 ай бұрын
Brilliant Tutorial, it is awesome, thank you so much
@deadly_dave
@deadly_dave 3 ай бұрын
Super helpful! More like this please.
@hieroben
@hieroben 3 ай бұрын
Finally - real debugging on an Arduino. That's gonna make a huge difference,
@anshumanmohanty5390
@anshumanmohanty5390 3 ай бұрын
Thanks, brother for spreading the knowledge
@kavinprakash7868
@kavinprakash7868 3 ай бұрын
it is a very useful video thanks bro
@n.thenushan120
@n.thenushan120 3 ай бұрын
No worries you are doing great job❤
@alessandrovichi761
@alessandrovichi761 3 ай бұрын
Very interesting tool. This upgrade arduino in a high level.Thank you very much for it
@arcrobotics9982
@arcrobotics9982 3 ай бұрын
THis would be super helfpful and useful thanks
@korishan
@korishan 3 ай бұрын
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 3 ай бұрын
I guess new version of ESP, like S3 have JTAG built in. Even easier. 🥰🥰
@thebarn9413
@thebarn9413 Ай бұрын
Thx, so many details missed by others
@savanladva1197
@savanladva1197 3 ай бұрын
worth to watch
@buicaemanuel-valentin4301
@buicaemanuel-valentin4301 3 ай бұрын
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.
@bobsponge9792
@bobsponge9792 2 ай бұрын
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!😀
@NilsRohwer
@NilsRohwer 3 ай бұрын
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
@electroveins67
@electroveins67 3 ай бұрын
nice
@333donutboy
@333donutboy 3 ай бұрын
Would the process for debugging an ESP8266 be the same as the ESP32? Great video and very helpful.
@FrankMadero
@FrankMadero 3 ай бұрын
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.
@larryknyc
@larryknyc 3 ай бұрын
*** What is the large aluminum block plugged into the jtag board? Thank you for the videos
@ELECTRONOOBS
@ELECTRONOOBS 3 ай бұрын
Is just an USB hub
@TiagoDdA
@TiagoDdA 3 ай бұрын
I gave up on arduino a long time ago. Much more efficient and powerful to use the native tools
@HayBeseret
@HayBeseret 3 ай бұрын
Thanks for the video ! -The jtag pinout is blured @7:57
@ELECTRONOOBS
@ELECTRONOOBS 3 ай бұрын
Yeah, a small edit error. But you have the connections on the tutorial on the description
@alexnewton3376
@alexnewton3376 3 ай бұрын
Great job. Visual Basic is great and better than Arduino IDE
@denispatel8373
@denispatel8373 3 ай бұрын
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
@FrankP83
@FrankP83 Ай бұрын
can you make a video on the new Arduino IDE 2.3.2 that include aready a debugger?!
@alexm1126
@alexm1126 3 ай бұрын
I wish I knew about this earlier...
@aliemlek
@aliemlek 3 ай бұрын
👍👍👏👏👌👌
@minhhoangle5056
@minhhoangle5056 Ай бұрын
How do I debug ESP32 in Arduino IDE ? I don't want use PlatformIO because it is mysterious define configuration code.
@KAMIPROJECTS
@KAMIPROJECTS 3 ай бұрын
why esp32 pins were blur out in the video
@ELECTRONOOBS
@ELECTRONOOBS 3 ай бұрын
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
@shazanmahmud2973
@shazanmahmud2973 3 ай бұрын
arduino ide 2. 0 has buildin so no problem
@DenisUsvh
@DenisUsvh 3 ай бұрын
Привет Как передать gps координаты через ардуино или stm32 по wifi, по протоколу Cursor On Target (COT) на андройд ?
@shazanmahmud2973
@shazanmahmud2973 3 ай бұрын
where is tutrial page
@ELECTRONOOBS
@ELECTRONOOBS 3 ай бұрын
electronoobs.com/eng_arduino_tut195.php
@lifeai1889
@lifeai1889 3 ай бұрын
7:58 wiring of esp32 debugger is not visible please reupload the video
@janisgs
@janisgs 2 ай бұрын
have anyone successfully got debugger working using JTAG on the Macbook as well?
@janisgs
@janisgs 2 ай бұрын
assuming same setup, VSCode, PlatformIO, ESP32
@ms2649
@ms2649 3 ай бұрын
You accidentally blurred the pin connections making them impossible to read
@user-xv5iw5zh4m
@user-xv5iw5zh4m 3 ай бұрын
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 2 ай бұрын
STM32?
@jonathanusatinsky3052
@jonathanusatinsky3052 3 ай бұрын
You make great videos... You should make a Udemy course to diversify your income.
@ELECTRONOOBS
@ELECTRONOOBS 3 ай бұрын
I already have my own courses but unfortunately they are just in Spanish for now...
@algre977
@algre977 3 ай бұрын
Can you debug attiny ?
@Noxoreos
@Noxoreos 3 ай бұрын
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.
@uwezimmermann5427
@uwezimmermann5427 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@NoxoreosI was obviously referring to the first part of the video
@manu_thind
@manu_thind 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 3 ай бұрын
Can you plz giveaway 1 DSO (digital signal oscilloscope) to me, its been 2years i am requesting almost everyone still didnt get.
@ugetridofit
@ugetridofit 3 ай бұрын
If you need a debugger you just a poor programmer. All one needs is printf and /or a scope.
@Noxoreos
@Noxoreos 3 ай бұрын
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 3 ай бұрын
earned an unsuscribe.
@Noxoreos
@Noxoreos 3 ай бұрын
I'm pretty sure your comment was more important for the video than the subscription.
@tel5857
@tel5857 3 ай бұрын
Nice explanation
Homemade Laser Power Meter - Experiment
38:16
Electronoobs
Рет қаралды 10 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 470 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 3,9 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 30 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
Exploring the Arduino Nano ESP32 | MicroPython & IoT Cloud
57:43
DroneBot Workshop
Рет қаралды 164 М.
M5 Bruce is on guys!!
19:59
Bernardo Morcelli
Рет қаралды 3,7 М.
Getting JTAG on the iPhone 15
9:10
stacksmashing
Рет қаралды 331 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
A very comprehensive ESP32 Debugging Guide.
12:21
J's e-shack
Рет қаралды 9 М.
ESP32 - DEBUGGING your ESP-IDF code using JTAG [VS CODE]
19:53
472 Simulate Arduino, ESP32, Pi Pico, STM32, And ATtiny with Wokwi
11:41
#261 ESP32 Line-by-line Debugging - works with many ESP32 modules
21:21
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 6 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 120 М.