I am attempting to program an ATmega88PB using Atmel Studio 7 and both the AVRISP and Atmel ICE debugger. When attempting to read the device ID I get the following error message:
Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xc0, expected 0x00 (Command has failed to execute on the tool)
This is on a custom board and I tried to resolder a new chip with no success. I have read that this issue may be due to a poor connector or the clock frequency being too high. I tried lowering the clock speed to 8kHz with no success.
When I pulled out the scope I found that the MOSI , sck, and reset pins do seem to be sending properly. However, I am not seeing any response from the MISO line (stays high).
Does anyone have any other ideas that I could attempt to debug this issue?
Many thanks.