Skip to content
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

Open
felias-fogg opened this issue Feb 25, 2025 · 4 comments
Open

Debug support now also for EDBG-based debuggers #336

felias-fogg opened this issue Feb 25, 2025 · 4 comments

Comments

@felias-fogg
Copy link

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

@MCUdude
Copy link
Owner

MCUdude commented Feb 27, 2025

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?

@felias-fogg
Copy link
Author

I have quite limited time at the moment (we're getting a baby within a week or two),

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 ;-)

but is this something that would/could work with Arduino IDE v2?

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
Bernhard

@MCUdude
Copy link
Owner

MCUdude commented Feb 27, 2025

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.

@felias-fogg
Copy link
Author

felias-fogg commented Feb 28, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants