New to AVR parts but have used Microchips in the past for several projects.
MY issue is when trying to read the device ID I get the error "Unable to enter programming mode. The read device ID does not match the selected device or any other supported devices" Using an Atmel ICE and it works on a different board/project.
The physical board is of my design but made by a board house so its not a breadboard.
When putting a scope on Xtal pins (using an external 16MHz crystal on pins 1 and 2 but with 20pF instead of 22pF caps) the clock is not running. I am guessing that's why it wont enter programming mode. The chips are new from digikey.
This is happening on 2 different boards. Shouldn't the clock run by just powering it on? I double checked and have VCC tied to pins 4,32,31 Pin 3 is grounded and I have a 1uf cap on 27 (Ucap)
The programming header on the board is connect as follows:
Header - Pin
This looks correct to me unless I missed something.
Any ideas would be appreciated.