Hey everyone, I built up a Sanguinololu completely from scratch. It seems that almost everything is working. I can compile a small test program and upload it with avrdude. Everything works correctly until the last step:
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0xff
avrdude: verification error; content mismatch
If I download the full flash contents using avrdude, everything returns as 0xFF. Based on the verbose logs, it looks like the FTDI chip is talking correctly with the ATmega1284p. All the handshake messages seem to work fine. The sent data all looks good. It seems that only issue is the flash fails to be written. Is my chip dead? Could there be any other possibilities?
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0xff
avrdude: verification error; content mismatch
If I download the full flash contents using avrdude, everything returns as 0xFF. Based on the verbose logs, it looks like the FTDI chip is talking correctly with the ATmega1284p. All the handshake messages seem to work fine. The sent data all looks good. It seems that only issue is the flash fails to be written. Is my chip dead? Could there be any other possibilities?