Problem: Stuck in debug mode? Cannot read device signature. Error "Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xc0, expected 0x00 (Command has failed to execute on the tool)"
Configuration:
- New blank ATmega328P purchased from Digikey
- Elegoo Un R3 Arduino board connected via Olimex AVR-ISP-MK2
- Atmel studio 7 7.0.2397 on Windows 10
- AVR-ISP-MK2 purchased from Digikey - https://www.digikey.com/en/produ...
When I bring up the Atmel studio and go to program the boot loader, it cannot read the signature. I have tried this both with the R3 powered from the AVR-ISP-MK2 and the USB port on the R3 connected to computer.
I have watched the video on how to swap between programming mode and debug mode... but the video presume a functional debug mode, which I cannot get into without programming first.
I tried converting the blink example program and "debugging" it, but cannot program the chip to get into debugging mode in order to enable the "clear DebugWire and restart" menu option.
Thanks in advance,
Mike