I have been happily writing and debugging my application (ATMEGA128) using an AVRONE and Studio 7 for the last week or two. All of a sudden, for no apparent reason, I can no longer start a debugging session. Studio hangs at "Loading Symbol Info (95%)" for about 15 seconds, then displays "Failed to Launch Program" / "Error: Failed to leaveprogmode". I am able to program the chip with the AVRONE outside of the development environment, and I can run without debugging from inside Studio.
Help! I am at a standstill.
NEVER MIND. The problem is that the ODCEN fuse wasn't being programmed for some reason.
but still... a pretty poor error message IMHO