#781895 avrdude: writing fuse from file does not work

Package:
avrdude
Source:
avrdude
Description:
software for programming Atmel AVR microcontrollers
Submitter:
Yann Dirson
Date:
2018-12-16 00:51:03 UTC
Severity:
normal
#781895#5
Date:
2015-04-04 14:23:47 UTC
From:
To:
Before I noticed the "m" format to set fuses from immediate
commandline values, I tried to set them (using an Arduino-as-ISP) from
a binary file obtained by reading them (-U hfuse:r:hfuse.dump:b).
Using "-U hfuse:w:hfuse.dump:b" just fails:

$ avrdude -p m32u4 -c stk500v1 -b 19200 -P /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Uno_6493534323335151A211-if00 -U hfuse:w:hfuse.dump:b

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9587
avrdude: reading input file "hfuse.dump"
avrdude: fileio: invalid operation=0
avrdude: read from file 'hfuse.dump' failed

avrdude: safemode: Fuses OK (E:F3, H:D0, L:FC)

avrdude done.  Thank you.


OTOH, using "-U hfuse:w:90:m" worked just fine.

#781895#10
Date:
2018-12-16 00:10:31 UTC
From:
To:

Please file a bug report at:

http://savannah.nongnu.org/bugs/?func=additem&group=avrdude

and work with the upstream on the issue.


Milan