Just starting out with Atmel Studio. Been a struggle.
I have an ATmega328P Xplain MINI with a USB-based debug/programming capability. I cannon seem to program the device any more -- it used to work -- and get the "Got 0xc0, expected 0x00" type of error. I figured so far that this might have to do with me playing with debugWire, and that's causing some problem since I didn't use the 'Disable debugWire and Close' (very well hidden) option.
Problem is that I cannot enter debug mode any more (always getting the failure above whether I choose to enable the DWEN fuse or not), so that option above is always greyed out! I've tried all possible combinations and it still can't access the chip.