- 9
- 391 901
J's e-shack
Registrace 26. 08. 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: czcams.com/video/UZwVQ9i-dcQ/video.html
🖥️ Basics with PlatformIO: czcams.com/video/PYSy_PLjytQ/video.html
🖥️ Debug your Arduino Uno or nano: czcams.com/video/7wx27FcluMg/video.html
🖥️ OOP on Arduino: czcams.com/video/_84rkq9a5jE/video.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: czcams.com/video/UZwVQ9i-dcQ/video.html
🖥️ Basics with PlatformIO: czcams.com/video/PYSy_PLjytQ/video.html
🖥️ Debug your Arduino Uno or nano: czcams.com/video/7wx27FcluMg/video.html
🖥️ OOP on Arduino: czcams.com/video/_84rkq9a5jE/video.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!
zhlédnutí: 10 659
Video
Build your own OVERKILL ON AIR Sign with ESP32! | ON AIR-Series Part 1 Finite State Machine
zhlédnutí 656Před 10 měsíci
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!
zhlédnutí 2,3KPřed rokem
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!
zhlédnutí 3KPřed rokem
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
zhlédnutí 776Před rokem
Your takes on Arduino, PlatformIO, debugging and OOP! ➡️ draw.io: www.draw.io/index.html ➡️ Get PlatformIO for VSCode: platformio.org/ 🖥️ Basics with PlatformIO: czcams.com/video/PYSy_PLjytQ/video.html 🖥️ Debug your Arduino Uno or nano: czcams.com/video/7wx27FcluMg/video.html 🖥️ OOP on Arduino: czcams.com/video/_84rkq9a5jE/video.html 00:00 Intro 00:10 Starting with Arduino 00:24 Tool for fancy ...
Object Oriented Programming and MORE on Arduino!
zhlédnutí 11KPřed rokem
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: czcams.com/video/PYSy_PLjytQ/video.h...
PlatformIO: All you need to know in 10 Minutes!
zhlédnutí 301KPřed rokem
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!)
zhlédnutí 62KPřed rokem
Straight forward, no additional hardware, no BS. Debug your Arduino Uno or Nano (almost) out of the box!
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
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
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.
You're like the Embedded Doke, with the same joke style and accent 😂
You should give the Arduino IDE a new look. It's now a full fledged development environment with a dark mode, syntax highlighting. More of the tools are easier to use and it's much faster than the old version. IDF is now fully supported.
anyway, this is f** amazing, thx bro👍
you remind me of one of the hackers from the film skyscraper on netflix
"Don´t be scared if you see this. Run.." (6:12)
Superb ❤
thanks a lot♥♥
Thank you very much for this. This has inspired me to switch to platformIO in studio code … thanks bud.
Rarely 1% people using platform io.... this is not user friendly.... Who want to learn arduino programming.. ARDUINO IDE IS UNIQUE CHOICE
thanks man
For anyone having issues: I was able to upload to my Arduino Nano through the Arduino IDE, but PlatformIO wasn't able to upload to it. It kept failing with an avrdude error in the Debug Console. All you have to do is go to the platformio.ini configuration file and change board = uno
To the point and delivered with dry humor and sarcasm. What more could a person want? Great job!
@jse-shack825 Some people sometimes don't like taking a straightforward path to reach a destination; they prefer convoluted and confusing routes. For instance, if they need to go north, they will first head west, then turn south, then east, and finally north. If you are such a person, PlatformIO is best for you. Otherwise, you can continue to use the Arduino IDE.
Excellent video overall! Thank you. The "Test" icon is not specifically for TDD (Test Driven Development) which is a software development "philosophy" of writing unit tests before you write any actual code. The Tests button is just a shortcut to the area where you create/store unit tests... which should never be confused with TDD. One is a philosophy, the other is simply unit tests. You can write unit tests all day long without adopting TDD. It's fine... you skipped over all the testing areas because you don't know anything about it and that's perfectly fine... no one "young" ever wants to write tests. Also, git is not an "archiving" system. It is a distributed version control system. Before everyone accuses me of just being a dick... which is exactly how I know the above will be received, know that I mean it in a constructive way. The only reason I mention it is because I know you will do well in both software and CZcams and will end up with many followers. Those YT followers will listen to everything you say and take it for fact without question... and possibly learn some things that may not be 100% correct. Were you wrong per se... eh, not really. What I'm saying, or asking rather, is that as an influencer you make sure to use the correct terminology... or at least as close as possible so people don't have to unlearn the stuff later. Like I said at the top, excellent video! And yes, the Arduino IDE blows and VSCode is a much better solution. Subscribed.
First of all, never code in arduino terms, only use anscci C, because in time critical applications you will have a large issue, Second, you will never have accesses to registers view, whitch is fundemental for debugging professional, so dont use this method, bye an Atmel Ice, get rid of the arduione bootloader, and code in Ansci C, the only way to do this right
nice
Get a shave by washing your face
This looks great. but I haven't been able to make it work. It compiles well. Uloads well and the it says .pioinit:13: Error in sourced command file: COM9: No such file or directory. Can you help me? Thank you
change COM9 to your own port...
would this work with expressif nano esp32?
I compared platforms for now 6 months. For a hobbyist platformio doesn't make any sense. it's overloaded, complicated and of course 90% of features are useless for 99% of cases. extremely overfeatured. I uninstalled it today. wasted storage space. to be honest, I did never understand for whom this software is meant. I don't think that there are more than 100 productive instances in the whole world.
That's very helpful, thank you. Presumably if you have a devkit like ESP32-C3 Super Mini that already wires the usb pins through to the socket then no hardware hacking at all is needed.
Yes, and the ESP32-S3 has the same features on its second USB-C port labled USB-OTG. Very nice and simple.
Bro pls help me out with the ESP32C3 Lyra V2, im Lost!!! this one has the esp32c3wroom2 but GPIO 18 and 19 (D+ and D-) has no Jumper pins to connect them to the USB. There is a USB to AURT Port I have tried to make It work as USB to JTAG but its not working either🥹.
plattformio is totally overloaded. if you click somewhere, something new is constantly being started. i hate it
Turbo pascal is joinning the chat..
Microsoft and Visual Studio Sucks
0:15 💅style grace usability ✨☝️🤌 *uses turbo c*
Terrific video, thank you! Wondering where you got that wide breadboard? Standard breadboard does not fit ESP32 well! Thanks.
I used 2 of them together… in my breadboards powelines + - was removables too
Amazing. Can I do c# too, or is that too much to ask?