I am trying to use lock bits for protection on atmega32.I am not being able to write lock bits to it its giving me verification error while doing it.Can you tell me correct way to do this?
http://web.engr.oregonstate.edu/~traylor/ece473/lectures/fuses.pdf check out this pdf. You Will find your answer.
avrdude> w efuse 0 0xff
//write extended fuse //write extended fuse
w efuse 0 0xff avrdude> w hfuse 0 0x89
//wire high fuse //wire high fuse w hfuse 0 0x89
avrdude> w lfuse 0 0x2f
//write low fuse //write low fuse
w lfuse 0 0x2f
Double check 0XFC is correct value or not?