-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug support now also for EDBG-based debuggers #336
Comments
That's really quite neat! Excellent work. I have quite limited time at the moment (we're getting a baby within a week or two), but is this something that would/could work with Arduino IDE v2? |
Congratulations! This will probably mean less time in front of the computer ;-). I became a grandfather a year ago and must say that this is more fun and less stressful than being a father ;-)
Definitely. With Pyinstall you can turn the script into a binary that can be distributed as a "tool" in an Arduino package. Have fun with your baby |
Thank you! It's my third (and last) child, so I'll be busy for many, many years. However, I'll try my best to find time to tinker with microcontrollers and electronics in the evenings. Feel free to create a PR or a development branch I can try. I still haven't fully migrated over to IDE v2 (I'm mostly using PlatformIO), but I see a lot of potential! The end goal would be to provide debug functionality that would "just work" on your favorite operating system. |
Hi Hans,
the third! Then you are a professional dad already. We stopped at two, but the second was already much smoother. And, over time, you get back more time for yourself. In any way, it is infinitely rewarding to have kids. Something, I noticed only when we had them.
My plan is to complete the script for DW targets and produce an ATTinyCore and a MiniCore package soon (since my kids are not kids anymore). I'll send you a PR after I am done. It is probably some way to go. The good thing is that I always get helpful feedback from Xedbg from Microchip when things are not straightforward.
Next step would be JTAG targets, hopefully before early summer, when I will be busy with other things. UPDI targets are the ultimate goal. Yes, and the good thing is that it is all platform independent. Bloom seems to be a cool thing for Linux, but the author does not care for other platforms.
Concerning Arduino IDE 2, I disliked it earlier. But meanwhile it seems stable and is again reduced to the crucial things. It is much easier to work with when you have smallish projects. And it is all out of the box (when it was in the box). PlatformIO is a bit more challenging for new users. You can, however, integrate a new debugger much easier in PlatformIO. I still have not figured out how to do that in the Arduino IDE 2.
Best,
Bernhard
|
Hi Hansi,
After a long look at pymcuprog and pyavrdebug, I decided to give it a try. I extended it so that it can now deal with debugWIRE MCUs. If you want to try it out, you can install the Python script from PyPI with
pipx install dwgdbserver
. It seems stable by now, but there are a few things to polish. The nice thing is that it runs on all platforms and seems "easily" extendable to deal with JTAG and UPDI.Best,
Bernhard
The text was updated successfully, but these errors were encountered: