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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIO Unified Debugger for AVR #95
Comments
Maybe these can be used as a reference: I don't see why this functionality couldn't be implemented into PlatformIO to simplify the whole process and make it a one-click procedure (as advertised) for debugging AVR. |
hello, have you seen this? |
@aster94 I came across that today and was very hopeful of making use of it... buuuuut I was bummed to find that atmega16 doesn't have the capability to use it, only JTAG. |
Hi @ivankravets , I would love to be able to debug on my arduino uno. Is there any progress on this feature? |
Highly requested feature. |
It looks like it would be possible to use AVaRICE debugger server to interface GDB with JTAG/ICE debugger. |
Hello, I would also like to see AVR debugger support in PlatformIO, even though I can debug just fine over the command line. Attached 2 documents that document how to debug using ONLY open-source software the Atmega 328p and Atmega 2560 using USB AVR JTAGICE MKII-CN: debugging-atmega328_README.pdf debugging-atmega2560_README.pdf If a developer of PlatformIO is interested, I am willing to ship a USB AVR JTAGICE MKII-CN FOR FREE as donation, but only to a developer that can prove (by commits) they are actively involved in the project. Thanks! |
@ivankravets any updates about debugging AVR? |
I'm the CI maintainer of the AVaRICE program now, which is supposed to be able to use several debugging probes (Atmel-ICE, AVR Dragon, mEDBG, eDBG, ...) to open a GDB server. After some testing on real hardware (got an ATMega328P XPlained Mini with mEDBG probe on the way) and packaging of binaries I'll then be excited to bring these improvements into PlatformIO for AVR debugging support. In parallel I've asked Microchip to expand their Python libraries (microchip-pic-avr-tools/pyedbglib) with a possible GDB sever as another posibility here. |
I am making slow but steady progress with AVaRICE on a ATMega328P XPlained Mini (mEDBG) board, incorporating a few patches, recompiling avr-gdb with XML support, and now I got PlatformIO + avarice + avr-gdb to load the firmware binary through debugWire, set a breakpoint and have it stop. Line by line debugging of the chip actually works. Excited to test more and make it better. |
Problems
So, Microchip is not interested in the free and multi-platform debugger for AVR.
You can try to reach them personally and ask about help https://microchipsupport.force.com/s/
The text was updated successfully, but these errors were encountered: