I hope somebody can help me... I built my own board that mounts an ATmega48P. The chip is new, I didn't burn the fuses. When I try to read the Device Signature I receive the error "
Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xc0, expected 0x00 (Command has failed to execute on the tool)
Unable to enter programming mode. Verify device selection, interface settings, target power, security bit, and connections to the target device."
Timestamp: 2021-04-23 15:24:45.973
ModuleName: TCF (TCF command: Device:startSession failed.)
I read the previous posts regarding this issue, but I didn't find any workable solution.
I verified the SPI connection (MOSI, MISO and SCK) from the MCU pin up to the 10pin flat cable.
The RESET pin of the MCU is pulled up to +5V through a 10kohm resistor.
I changed the +5V voltage supply to another one. The GND is well distributed on the layout.
I changed the MCU to a new one.
I changed the USB cable with a new one.
The programmer ATMEL ICE seems in good condition and the led switch properly.
I use Microchip Studio 7
Anyone has some solution to suggest?