0
\$\begingroup\$

I'd really like to be able to debug on i.e. an Atmega328p on Linux with Eclipse as described on avr-eclipse.sourceforge.net

After quite some research, it seems an JTAGICE mkII should work fine with both avrdude and AVaRICE. But a JTAGICE mkII seems outdated and is quite expensive, besides the clones from Kee Electronics and Waveshare which seem to work fine.

The latest AVaRICE from SVN supports JTAGICE3 but as far as I could find out only with firmware 2.x. There is also the Atmel-ICE Basic but even though it looks similar I was told it is not a JTAGICE3 so it probably won't work with AVaRICE.

So, the only way is to go for one of those JTAGICE mkII clones or is there anything else that works on Linux with Eclipse?

\$\endgroup\$
1
\$\begingroup\$

I own ICE, but I do not remeber is it working properly in Eclipse. Avrdude is friendly with ice but only as programmer.

Check please here:

http://www.avrfreaks.net/forum/atmel-ice-and-linux

\$\endgroup\$
  • \$\begingroup\$ Interesting thread which confirms what I found out but I wonder why nobody mentions the JTAGICE mkII clones since I have read that at least the Kee Electronics one works. And I really don't feel like debugging or even developing on Windows. \$\endgroup\$ – Torsten Römer Feb 23 '16 at 20:39
0
\$\begingroup\$

To provide a partial answer to my own question:

I have contacted both Kee Electronics and Waveshare about Linux compatibility of their JTAGICEmkII clones. Waveshare just pointed me to a tiny FAQ that says nothing about Linux compatibility, and Kee Electronics said their debugger is fully compatible with the JTAGICEmkII on Windows but they don't have personal experience with Linux.

So I got myself a used Atmel JTAGICEmkII and tried it out.

It works fine as programmer, and also debugging works (also in Eclipse), besides that execution won't stop at the breakpoints, which I think is related to debugWire. A usable workaround is to set permanent breakpoints.

Here is a related question with some details.

For anyone interested, I've written down all I have learned about AVR debugging (with debugWire) on Linux with Eclipse here.

I'll be happy to try out any suggestion and update the document.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.