Skip to main content
added 60 characters in body
Source Link

I was trying to overwrite the AVR Fusebytes for AVR16A

sudo avrdude -p atmega16 -P usb -c usbasp -U lfuse:w:0xFF:m -U hfuse:w:0x99:m

sudo avrdude -p atmega16 -P usb -c usbasp -U lfuse:w:0xFF:m -U hfuse:w:0x99:m

before overwriting it was l:0xe1 h:0x99l:0xe1 h:0x99 after overwriting it gives an error .

avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

avrdude: error: program enable: target doesn't answer.
1 avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

How do I recover from this mistake?

Edit: When I run with -F option avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 avrdude: AVR device initialized and ready to accept instructions avrdude: Device signature = 0x88fbe8 avrdude: Expected signature for ATmega16 is 1E 94 03 avrdude done. Thank you.

Edit: When I run with -F option 
avrdude: error: program enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x88fbe8
avrdude: Expected signature for ATmega16 is 1E 94 03
avrdude done.  Thank you.

I was trying to overwrite the AVR Fusebytes for AVR16A

sudo avrdude -p atmega16 -P usb -c usbasp -U lfuse:w:0xFF:m -U hfuse:w:0x99:m

before overwriting it was l:0xe1 h:0x99 after overwriting it gives an error .

avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

How do I recover from this mistake?

Edit: When I run with -F option avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 avrdude: AVR device initialized and ready to accept instructions avrdude: Device signature = 0x88fbe8 avrdude: Expected signature for ATmega16 is 1E 94 03 avrdude done. Thank you.

I was trying to overwrite the AVR Fusebytes for AVR16A

sudo avrdude -p atmega16 -P usb -c usbasp -U lfuse:w:0xFF:m -U hfuse:w:0x99:m

before overwriting it was l:0xe1 h:0x99 after overwriting it gives an error .

avrdude: error: program enable: target doesn't answer.
1 avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

How do I recover from this mistake?

Edit: When I run with -F option 
avrdude: error: program enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x88fbe8
avrdude: Expected signature for ATmega16 is 1E 94 03
avrdude done.  Thank you.
Source Link

AVR: target doesn't answer error

I was trying to overwrite the AVR Fusebytes for AVR16A

sudo avrdude -p atmega16 -P usb -c usbasp -U lfuse:w:0xFF:m -U hfuse:w:0x99:m

before overwriting it was l:0xe1 h:0x99 after overwriting it gives an error .

avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

How do I recover from this mistake?

Edit: When I run with -F option avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 avrdude: AVR device initialized and ready to accept instructions avrdude: Device signature = 0x88fbe8 avrdude: Expected signature for ATmega16 is 1E 94 03 avrdude done. Thank you.