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.
@balancosmin92582 күн бұрын
De ce sa stie ce fac eu?
@sithumgimhan76503 күн бұрын
Can i use a git hub code originally made for arduino in esp 32 ?
@stevenbennett61233 күн бұрын
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.
@claushilman270312 күн бұрын
No,no, nothing from Microsoft, thanks.
@claushilman270319 күн бұрын
No, nothing from Microsoft, thanks.
@walterleinert227323 күн бұрын
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.
@c6jones72024 күн бұрын
Not being able to debug an Arduino is a good enough reason to choose a different chip. This is a game changer
@nathrmАй бұрын
now i understand when my friend talk about bule pill.. this must be what their mean... :-P
I hate PlatformIO. because unknown and mysterious define configuration code! Just use Arduino IDE.
@BicycleworkshopАй бұрын
Thanks, bro! You saved me a lot of time.
@arlievskyАй бұрын
could it be made to work with uno_r4_minima ? or do you know any software-only alternatives for this board?
@walterpark88242 ай бұрын
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.
@Atmatan_Kabbaher2 ай бұрын
You're like the Embedded Doke, with the same joke style and accent 😂
@billybbob182 ай бұрын
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.
@user-rk9py5cp2q2 ай бұрын
anyway, this is f** amazing, thx bro👍
@user-zn9op3ti6g2 ай бұрын
you remind me of one of the hackers from the film skyscraper on netflix
@kristoffersunnhordvik75902 ай бұрын
"Don´t be scared if you see this. Run.." (6:12)
@sanketss842 ай бұрын
Superb ❤
@alireza09942 ай бұрын
thanks a lot♥♥
@buffplums2 ай бұрын
Thank you very much for this. This has inspired me to switch to platformIO in studio code … thanks bud.
@qsdrfghgujfddyffguff2 ай бұрын
Rarely 1% people using platform io.... this is not user friendly.... Who want to learn arduino programming.. ARDUINO IDE IS UNIQUE CHOICE
@sltechgalaxy16772 ай бұрын
thanks man
@SamA.-tr2xt3 ай бұрын
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
@jman47153 ай бұрын
To the point and delivered with dry humor and sarcasm. What more could a person want? Great job!
@manclt7043 ай бұрын
@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.
@Wil_Bloodworth3 ай бұрын
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 KZfaq 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.
@rickylarsen4583 ай бұрын
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
@user-uh2lf1hn8d3 ай бұрын
nice
@bussi78593 ай бұрын
Get a shave by washing your face
@antoniodomit27823 ай бұрын
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
@catto882 ай бұрын
change COM9 to your own port...
@MS-fp5jq3 ай бұрын
would this work with expressif nano esp32?
@christianlingurar70853 ай бұрын
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.
@tim0steele3 ай бұрын
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.
@thorntontarr28943 ай бұрын
Yes, and the ESP32-S3 has the same features on its second USB-C port labled USB-OTG. Very nice and simple.
@elcalvo44163 ай бұрын
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🥹.
@sulcusulnaris4 ай бұрын
plattformio is totally overloaded. if you click somewhere, something new is constantly being started. i hate it
@redikaak99864 ай бұрын
Turbo pascal is joinning the chat..
@joseantoniogambin96094 ай бұрын
Microsoft and Visual Studio Sucks
@koyacrab4 ай бұрын
0:15 💅style grace usability ✨☝️🤌 *uses turbo c*
@wobblyrampack96554 ай бұрын
Terrific video, thank you! Wondering where you got that wide breadboard? Standard breadboard does not fit ESP32 well! Thanks.
@joppower67012 ай бұрын
I used 2 of them together… in my breadboards powelines + - was removables too
@iam50854 ай бұрын
Amazing. Can I do c# too, or is that too much to ask?
@dominikgs4 ай бұрын
THX for this very nice and clear step by step explanation! Perhaps now I can finally get the debugger to work.
@z3my4l4 ай бұрын
What about variable values?
@user-ms3id7jv7v4 ай бұрын
Visual micro is better
@harry45164 ай бұрын
I have tried PlattformIO a couple of times, but for me it is a big chaos and far away from being user friendly.
@noel16374 ай бұрын
Ahem... I use vi...
@drulli14 ай бұрын
Hi, a breakpoint is usually used to read out the content of some variables, to understand where a mismatch in our coding is coming from. Can we monitor the value of variables with this "debugger-like" tool? I guess not..