Olimex Support Forum

Microcontrollers => AVR => Topic started by: pcsel on June 22, 2015, 02:32:51 PM

Title: Olimex AVR-ISP MKII debugging
Post by: pcsel on June 22, 2015, 02:32:51 PM
Hi All,

Just a quick question, I have an AVR-ISP MKII  Olimex ISP programmer that I can use to program an Atmega8 fine via Atmel Studio but I do not seem to be able to get the device to go in to debug mode (ALT-F5) debug and Break at first line of Main(). It just compiles and doesn't break at Main().

It works fine in simulator mode but not with the AVR-ISP MKII set as the tool

Can anyone tell me if this device supports debugging please?

Many Thanks in advance

Paul
Title: Re: Olimex AVR-ISP MKII debugging
Post by: LubOlimex on September 14, 2015, 12:01:14 PM
Hey Paul,

No. AVR-ISP-MK2 is not a debugger. AVR-ISP-MK2 is an In-System Programmer (ISP) and it has only programming interfaces - ISP, TPI, PDI.

To be able to debug your AVR target you would need a tool with JTAG interface. You need to make sure that your target has JTAG interface available. You need to also ensure that the JTAG interface is not disabled by the fuses (for example, if JTAGEN fuse is un-programmed, the JTAG interface would be unavailable).

Best regards,
Lub/OLIMEX