- 9
- 440 575
J's e-shack
เข้าร่วมเมื่อ 26 ส.ค. 2021
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: th-cam.com/video/UZwVQ9i-dcQ/w-d-xo.html
🖥️ Basics with PlatformIO: th-cam.com/video/PYSy_PLjytQ/w-d-xo.html
🖥️ Debug your Arduino Uno or nano: th-cam.com/video/7wx27FcluMg/w-d-xo.html
🖥️ OOP on Arduino: th-cam.com/video/_84rkq9a5jE/w-d-xo.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!
☕ 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: th-cam.com/video/UZwVQ9i-dcQ/w-d-xo.html
🖥️ Basics with PlatformIO: th-cam.com/video/PYSy_PLjytQ/w-d-xo.html
🖥️ Debug your Arduino Uno or nano: th-cam.com/video/7wx27FcluMg/w-d-xo.html
🖥️ OOP on Arduino: th-cam.com/video/_84rkq9a5jE/w-d-xo.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!
มุมมอง: 16 115
วีดีโอ
Build your own OVERKILL ON AIR Sign with ESP32! | ON AIR-Series Part 1 Finite State Machine
มุมมอง 783ปีที่แล้ว
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.8Kปีที่แล้ว
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.2Kปีที่แล้ว
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
มุมมอง 868ปีที่แล้ว
Your takes on Arduino, PlatformIO, debugging and OOP! ➡️ draw.io: www.draw.io/index.html ➡️ Get PlatformIO for VSCode: platformio.org/ 🖥️ Basics with PlatformIO: th-cam.com/video/PYSy_PLjytQ/w-d-xo.html 🖥️ Debug your Arduino Uno or nano: th-cam.com/video/7wx27FcluMg/w-d-xo.html 🖥️ OOP on Arduino: th-cam.com/video/_84rkq9a5jE/w-d-xo.html 00:00 Intro 00:10 Starting with Arduino 00:24 Tool for fan...
Object Oriented Programming and MORE on Arduino!
มุมมอง 12Kปีที่แล้ว
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: th-cam.com/video/PYSy_PLjytQ/w-d-xo....
PlatformIO: All you need to know in 10 Minutes!
มุมมอง 336Kปีที่แล้ว
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!)
มุมมอง 69K2 ปีที่แล้ว
Straight forward, no additional hardware, no BS. Debug your Arduino Uno or Nano (almost) out of the box!
I installed PIO but when i make a serial monitor based projects in esp32 devkitc v4 i cant get any text its just only rts off dts off poweron reset etc. can anyone help me
Yes - 15 steps to just start an actual project. I can see how that's far superior to the Arduino IDE's automatic opening of a new project or the last opened one.
Nope.
90% of my projects named test😂
very nice video. based on his intresting humor. i think this guy is from deutsland ( germany ) ?
don't buy. avoid it, can't upload any sketches without unless you are pressing the reset button
Great video! Love the nerd energy. Unfortunately, however, it (and other comments) have only confirmed that software debugging is just not going to cut it for me anymore, and it's just time to move onto real hardware debugging.... I've avoided it for way too long, because it's going to require learning another new thing and spending more money, but my projects have grown to a higher level of complexity that Serial print "debugging" is only making worse. And so far, with these software stub debuggers, I'm seeing a lot of problems they just can't handle, especially if you're writing and debugging libraries. Plus, the whole idea of hidden code being added to my compile in the background, just doesn't sit well with me. Although, I do want to throw a bit of shade at Arduino here: I love arduino... I have their stickers on everything around here... But, the lack of a more sophisticated debugging system, built-in, is really disappointing. The fact that their official "debugging" is to suggest using Serial.print, is a little goofy actually, considering how big they are and how seriously they're used by some. Like, with all the new stuff they've added to recent board revisions, why they haven't just added a hardware debugger onto it is a little silly. It would only be an extra chip and a few components, because the MCU itself fully supports JTAG (hence why some boards even have the JTAG header on them).
but it cannot debug arduino DUE right?
Ja Das ist gut
that means u put ur .h files in the lib file and in the include file?
So if I understand correctly one can use a commercial software-only solution (Visual Studio + Visual Micro Arduino Extension) for stepping thru code, but that has many limitations... OR.. you can use a JTAG Adapter (esp-prog) and open-source software (VS Code + PlatformIO), and that offers the best debugging experience? However, is there any chance one might accidentally overwrite the built-in bootloader using jtag? I'd like to avoid the Arduino IDE flow ( setup() , loop() , etc) and instead use an RTOS like FreeRTOS or Zephyr! BTW, I understand the ESP32 comes in either a dual core option (Tensilicia Xtensa LX6 microprocessor) or single core (Risc-V) option.. does debugging with an esp-prog support both lx6 cores... as well as debugging ESP-C3's risc-v? I recall seeing an older IDF 4.3 video (YuriR?) that describes setting up json files (prerun, launch, tasks) that makes it so that OpenOCD/GDB starts automatically , resets the target, loads a particular binary onto a particular memory address, etc. Are things more integrated these days (with v5.2.3) such that these configuration files are no longer needed?
Thank you a lot mr programmer :-)
This is a perfect introduction for me! I'm not new to microcontrollers, nor development, nor VS Code - I just wanted to know about PlatformIO specifically, and you did that in 10 minutes!
vscodium FTW.
Useful and funny as well!! Thanks.
One question: where do I find those .h files that you added?
I figured it out.
I think you did a great job in thre previously video I learn so much thank you
Amazing intro I love it!
guyz help me when i switch to platform io it work but is show a lot of cmd apps how to get read of them
Hello i am new on vs code have project but could not remove errors can anyone help
Bro is making proggramming into hillariamming (programming + hilarius)
As someone who is just slowly getting started in the Arduino/ESP world, you are exactly the type of TH-camr you need. Thanks !
Part 2?
u good mf
Proper video mate! many thanks, keep it up legend!
I didn’t see the .ino file, is that unnecessary for the project?
A linking tutorial would be very helpful. I cannot get it to consistently link libraries and dependencies. It seems to parse them some projects yet not for others and I cannot figure out why. Searching web I see a lot of forum posts with similar linking issues. It's to point where coding is almost pointless because it won't link certain things. Yet Arduino despite being a very crude IDE has no issues linking.
How can I debug an ESP-01?
This is cool. I just started playing esp32 development and my brief search on OOP in C basically just resulted in multiple people saying don't. As a result, I instead opted to create a few psuedo-classes using structs with internal functions. I was still using the Arduino IDE, forcing me to have everything in a single file. Now I'm just curious about the pros/cons of structs vs classes.
Not knowing how to installing VS Code does not make someone stupid. it makes then... Not trained on VS Code So.. Why don't you just include that part of the video instead of making a pointless statement clearly you want to look cool clearly you are young AND I GET ALL THAT , that's fine But in your coolness, Why don't you just try to be helpful to the younger one who don't know how to do it , Is it really that much skin off your nose if you were to take a minute to show people how to install it if you want to talk about STUPID People are more stupid if they don't ask, right ? and this IS ACTUALLY a Beginner video, it's not a Pro video and No, We don't instantly know what you're thinking, some of us (Like me) it's our first time here, I have no idea who you are , but you've made a bad first impression. Food for thought
It's a food to sh*t your pants, man As its clearly stated, this video covers specific thing avoiding unrelated details about absolutely basic stuff that kids studying in a freaking school And clearly means to be waterless That what you talking about is like complaining that sb not explain how to get water in a teapot review video Don't get me wrong, if someone need an instruction how to install a software in 2-3 clicks - probably should consider embedded programming as a quite big piece yet to swallow
@@Driedsf ok mate, i guess now that you have that off your chest we can move forward
@@martinkuliza you can go whatever you want to go. For example to increase your Pc-proficiency level to casual user and stop blaming others for your lazyness or teach them how to make their FREE content in internet
@@Driedsf I see you removed your comment. Also.. "stop blaming others for your lazyness or teach them how to make their FREE content in internet" What Laziness mate ? I run a business, Been doing it for 35 years, i don't have time to play games with children and teach them how to do stuff for free, If the youtube algorithm wasn't such a pain i might consider it . But it is so i haven't and i found better ways to make money. My time is taken up with serious things not this stuff. This is the stuff i do for fun Also learn to spell "Laziness" Also, You don't know me and you have no grounds on which to speak to me like that I am not bound by your parameters of... Either do this.... or do this. You don't dictate my life. Who do you think you are ?
@@martinkuliza I didn't delete anything, don't know where it disappeared Anyway, my point was - you can't push someone for the stuff made for free Even if you don't like it, you can express yourself normally, without unnecessary blame Nobody owe you something here Instead of spending your valuable time on search you spent it on butthurt If you simply cannot respect unknown people in internet - no one will do same with you Live with it P.s. Clinging to typos is talking about you more than you can express by words Piece
look me in the eye when you drink ur coffee
You explained this so well I have subscribed to your channel.
Bro what do you smoke
Very cool.. never heard of VSCodium nor WROOM! I'm interested in using the ESP-PROG to debug via JTAG, but having issues with configuring OpenOCD / VS-Code / Platform-IO . BTW, when single-stepping via JTAG, is it running from the chip's RAM or is it from FLASH.. or does it depend on the linker script? (I'm wondering in case you cycle power, does the ESP32 have the last program debugged?)
You should make more videos, they are great. I love the way you present them.
meh ima stick with Arduino ide for now
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.
De ce sa stie ce fac eu?
Can i use a git hub code originally made for arduino in esp 32 ?
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.
No,no, nothing from Microsoft, thanks.
No, nothing from Microsoft, thanks.
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.
Not being able to debug an Arduino is a good enough reason to choose a different chip. This is a game changer
99% of Arduino use-cases feature code that's so trivial there's no point in debugging it, so I can understand why there's no debugger. Don't let the 1% tyrannize the 99%
now i understand when my friend talk about bule pill.. this must be what their mean... :-P
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?
I hate PlatformIO. because unknown and mysterious define configuration code! Just use Arduino IDE.
Thanks, bro! You saved me a lot of time.
could it be made to work with uno_r4_minima ? or do you know any software-only alternatives for this board?
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.