I use the JTAGICE MKII on a ATMEGA88.
When starting a debug session, the message "ERROR entering debugWire mode" occurs. (DWEN Fuse is set - of course!!!)
After retrying a few times it enters the debug mode and I can debug without any problems !
I use an 8MHz external crystal.
The fuse set for clocking is: 258CK/14CK + 65ms; CKSEL = 1100 SUT = 01
When I change the startup-time to 4,1ms it seems to work !
Does anybody have any experience with this issue ?
Why is there a retry button anyway ?