Hi All…
I have an Arduino compatible board a friend of mine and I built but I’m having some issues programming it. Some of them work, others don’t. I’m using AVR Studio 5.0 with an AVRISP mkII. Initially, I can read the device ID and fuses, but when I attempt to modify the fuses or lock bits, I get a verification error. After some attempts, I can’t even read the device ID any more.
I’m a bit confused as to why I can initially read the fuses and lock bits, and the device ID, but then I get to the point where I an not even get the device ID. The MPU is an ATmega1284P with a 16 MHz crystal.
The fuses I am setting are:
BODLEVEL: 2V7
OCDEN: NOT CHECKED
JTAGEN: NOT CHECKED
SPIEN: CHECKED
WDTON: NOT CHECKED
EESAVE: NOT CHECKED
BOOTSZ: 1024_FC00
BOOTRST: CHECKED
CKDIV8: NOT CHECKED
CKOUT: NOT CHECKED
SUT_CKSEL: EXTXOSC_8MHZ_XX_16KCK_65MS
EXTENDED: 0XFD
HIGH: 0XDC
LOW: 0XFF
Any suggestions are appreciated, thanks.