AS6.1 is unable to start my debug session

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

I'm slowly figuring out how to debug an ATTiny85 project with AS6.1 and AVR One. There seem to be many more quirks than with AS4, which I'm upgrading from. Anyway, I can now go from debugWire to ISP, but having done so, I can't get back into debug mode. When I hit F5 (Start Debugging), AS6 says, "Atmel Studio was unable to start your debug session. Please verify device selection, interface settings, target power and connections to the target device." They're all fine. The DWEN fuse box is unchecked (still don't know if that means it's programmed or not), but I'm leery of checking it due to all the tales of woe I've read from those who've tried to manually manage that fuse. What am I doing wrong (or not doing)? Thanks.

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

Yeah, unfortunately that is broken in 6.1 SP2. You have to use Start without Debugging (In the debug menu) to have the DWEN dialog come up.

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

Hey, thanks. I've got the whole roundtrip from ISP to debugWire and back again working now, after only a few hours and multiple posts here. What a pain in the butt they've made it!