I normally work with AT32UC3A series, but I am building a lighting project using someone else design, that uses an ATMega8515. I have a JTAGICE mkII that works fine with the AT32UC3A, I think I have it hooked up correctly to the ATMega8515, but it will not program the chip.
I have
ATMega8515 JTAGICD mkII
GND GND
SCK TCK
MISO TDO
MOSI TDI
RST SRESET
I also have a Vcc line (+5v) running form the board to the JTAGICE Vref.
The exact error message I get is Failed to launch program
Error: Failed to start programming session before chip erase with eeprom
Preserve:Failed to enter programing mode ispEnterProgMode: Error status
Received: Got 0XC0, expected 0x00. Command has failed to execute the program on the tool.
Suggestions would be appreciated.
David