Problems entering debugwire mode w. JTAGICE MKII on ATMEGA88

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
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 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If no success , before starting debug session try to cycle power of your m88 device.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Anybody experienced this ?