This one has me stumped. I am trying to debug a new project using JTAG and ICE. The device is a 1284P. I can contact the device and program the fuses, using the Device Programming tab, I can load and verify the code. But, I can't enter debugging mode. When I try to debug, the green progress bar gets 99% of the way and then stalls out when it tries to load symbols. It pauses a bit and then errors out with a "failed to leave programming mode" error. I am sure that it isn't the tools, because I get the same problem with the ICE and with an AVR ONE. I've tried restarting AS7 and the PC, no luck.
Any ideas on what might be causing this?