Jtag USB ICE not working, any ideas?

I know a few guys here have used the Olimex AVR-JTAG Ice. I received mine today but as yet have still not got it working. Does anybody have any ideas of what may be wrong?

I have the USB version of the Ice model Olimex AVR-USB-JTAG.

I am using a STK500 board running AVR Studio 4.12.460. Also in the about box it was reported as GUI Version 4, 12, 0, 460, JTAG ICE 1, 0, 0, 39, ATMEGA16 203

First I made sure I had a running asm program (just something to switch the lights on and off). The fuse setting were correctly set to JTAG Interface Enabled; (JTAGEN=0) which was Ticked.

The connections to the portC and portE(for reset) were as per Official Atmel connections for “ICE to MEGA 16/32â€

looks like you don’t have target AVR connected to the JTAG or the AVR conencted have no ICE capability

what AVR do you have on this STK500?

Tsvetan

OLIMEX:
looks like you don’t have target AVR connected to the JTAG or the AVR conencted have no ICE capability

what AVR do you have on this STK500?

Tsvetan

ATMega16 -16PI - 0403 On the Chip (40 pin Dip)

Here are the connections I used

JTAG…PortC…ATMega16


Pin 1…PC2… pin 24

Pin 2…GND…pin 11/31

Pin 3…PC4…pin 26

Pin 4…VTG…pin 10

Pin 5…PC3…pin 25

Pin 6…RST(PortE)…pin 9

Pin 7…VTG…pin 10

Pin 8…n/c

Pin 9…PC5…pin 27

Pin 10…n/c (Should this pin also be ground? the atmel spec does not have a connection on pin 10 of the JTag pinout)

Just tried another brand new chip. ATMEGA16 16PC 0533J. This still gives the same error.

Is there anything else that can be checked?

Just checked with a meter, pin 2 and 10 of the JTAG connector are connected internally together so they are getting the required ground 0V from the target micro.

drew2006:
Just checked with a meter, pin 2 and 10 of the JTAG connector are connected internally together so they are getting the required ground 0V from the target micro.

Is your target board powered?

Leon

leon_heller:
Is your target board powered?

Leon

The target board is the stk500. The connectors PortC and PortE are on the board itself. All the voltages are available at these pins therfore yes the ICE is being powered. The ATMega16 is actualy on one of the test sockets on the board (SCKT3100A3), so all of the voltages have to be present. The SKT500 has many leds to show power/staus etc and the progam I am running flashes differnt indicator leds (also built into the SKT500 board). This program is working so the chip is good.

Maybe I have missunderstood somthing.

When the JTAG USB Device was first plugged into the RS232 and powered up and AVR STudio was started should it have ungraded the firmware? I just assumed because it didn’t that there was no need as it was pre programmed for the latest version of AVR STudio. It has never asked for an upgrade or requested the ebn file, is this normal?

Do I have to follow the instructions for upgrading firmware http://www.olimex.com/dev/avr-jtag-upgrade.html or is this just for the serial version of the JTAG device?

I.e Does this device need extra procedures to make it work or does it work “straight out of the box” when it arrives?

Is there an email address I can report this too, maybe the developer to get some more information?