Hi,
I'm using AVRDude to program an arduino Nano - using a Sparkfun AVR pocket programmer. I'm able to set fuses and lock bits, but the 'Serial program downloading (SPI) enabled; [SPIEN=0] *' bit does not take the disable setting.
I'm setting:
- the Low fuse as: FF
- the high fuse as: FA
- the efuse as : FD
- the lock bit as: C0
here's a screen shot from a fuse calculator:
All of the settings 'take' except the high fuse, which comes back as "DA"
AVRDUDE will program all the other fuses but not the high fuse (AVRDUDE message says: avrdude.exe: verification error, first mismatch at byte 0x000 0xda != 0xfa) -
when reading back the fuses - it shows DA as the high fuse setting (which means that Serial program downloading (SPI) is enabled (and I can't seem to disable it).
I'm wanting to lock down the chip so a flash erase is necessary to read program/write to it
thanks in advance!