[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.)
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:
solve: interested problem caused (quote forum)
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 ...the flash resettet cannot flash sketch usual way due missing bootloader. can upload e.g. blinky sketch using usbtiny programmer without problem.
avrdude: verification error, first mismatch @ byte 0x0000
0xfd != 0x05
avrdude: verification error; content mismatch
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"any ideas cause error? hardware problem on chip or programmer?
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
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 | 0x05so changing efuse 0x05 0xfd in boards.txt solved problem
so replace command with:
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.
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
Post a Comment