Problems with AVRJTAGUSB / Fehler

Hello,

I have such problems with the AVRJTAGUSB and an ATMEGA16. :frowning:

The Hardware is only the controller with the JTAG connector and a crystal.

I can load and start the software and it runs correctly.

I can set breakpoints, the debugger stops, everything is ok.

But after six singlesteps I got a errormessage: Reading the program counter, an invalid value (0x7FFFFFFF) was recieved from device.

I have to disconnect the USB and the power of the target, sometimes I have to restart the AVRStudio. This error is on two PCs (2000 and XP) and with different targets. I tried different baud rates.

The error occure every time !

Now I have no more idea…

gg :cry:

Our JTAG need to take power supply from the target.

You can’t just connect microcontroller to it and to expect it to run

Tsvetan

Hi,

I connect all neccessary connections, of course also GND and 5V.

As well, it runs for 6 single steps, after this the error message comes - everytime. The supply is all the time correct !

EEgauf

somebody how can help me ?

EEgauf

please with other AVR device too, your AVR may be damaged

if the problem was in the connection or the JTAG you wouldn’t go so far to read PC counter right?

Tsvetan

I tryied it up to now with three devices, and with all three devices I have everytime exact the same problem…

EEgauf

Send us your project by e-mail, so we can try to re-produce your result

Tsvetan