[Solved] Error while writing efuse


hi.

sorry pretty new stuff might mistake of me
.
i have arduino nano , tried burn optiboot bootloader usbtiny isp failes every time error message: (tried other bootloader exact same result.)
quote
avrdude: verifying ...
avrdude: verification error, first mismatch @ byte 0x0000
         0xfd != 0x05
avrdude: verification error; content mismatch
the flash resettet cannot flash sketch usual way due missing bootloader. can upload e.g. blinky sketch using usbtiny programmer without problem.

so why can flash normal sketch no bootloader? shouldnt both simple hex files?

verbose logs of both procedures attached.

edit. ok missed before. in failed log there error writing fuse:
quote
avrdude: reading input file "0x05"
avrdude: writing efuse (1 bytes):

writing |  ***failed; 
################################################## | 100% 0.03s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0x05:
avrdude: load data efuse data input file 0x05:
avrdude: input file 0x05 contains 1 bytes
avrdude: reading on-chip efuse data:

reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: verification error, first mismatch @ byte 0x0000
         0xfd != 0x05
avrdude: verification error; content mismatch
any ideas cause error? hardware problem on chip or programmer?


solve: interested problem caused (quote forum)
quote
everything fine. feature of avrdude.conf entry. 0xfd same 0x05 because bottom 3 bits used. i.e. 0xfd = 0xf8 | 0x05
so replace command with:
so changing efuse 0x05 0xfd in boards.txt solved problem

this bug introduced avr 1.6.12 boards came 1.6.10 ide.

upgrading avr boards trigger elsewhere too. updated avrdude version , released without testing burn bootloader (or else - unfortunately par course here)

1.6.9 avr boards 1.6.11 fine - that's recommend people use currently.


Arduino Forum > Using Arduino > Installation & Troubleshooting > [Solved] Error while writing efuse


arduino

Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading