I'm getting this error on AS6 and win7:
[ERROR] Unexpected JTAG ID 0x0960b03f (expected 0x0960d03f)., ModuleName: TCF (TCF command: Device:startSession failed.)
The device connected is an ATmega645A
It works ok on win XP and studio4 so I know the JTAG connection is right.
Tried both on JTAGICE3 and JTAG ICE MKII