When I used Atmel ICE programming an Atmage328p MCU, the second last step failed:
When I went to "Device Signature", this prompted:
"Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xc0, expected 0x00"
The "Target Voltage" testing was OK.
How to fix it?