Electronic – AVR debugwire in Linux

avrdebuggingdebugwirein-circuitlinux

So, I have hooked up a ATtiny88, and am programming it with the Dragon AVR using ISP. I have also set up the build toolchain, using avrdude, and the gnu avr tools. Everything is working great.

Now I would like to do in-circuit debugging using the advertised debugwire which is also connected to the ISP and which the dragon supports. But which tools do I use? I see there is a avr-gdb, but it seems that I needs some kind of simulator, however I would like to debug in-circuit on the real MCU. Is this possible?

Thanks in advance.

Best Answer

Have a look at avarice. It's man page also has something to say about debugwire. I don't know if that'll be good news or bad, though.