Open masya-chel opened 2 years ago
As the issue does not seem to be Windows specific, can you please post the issue here: https://github.com/avrdudes/avrdude/issues
I believe the issue has been fixed in avrdude 7.2 release. https://github.com/avrdudes/avrdude/releases/tag/v7.2
I am trying to write fusebits to the MCU from a file, this function does not working - an error is displayed. See the screenshots below.
avrdude.exe: Device signature = 0x1e9307 (probably m8)
avrdude.exe: reading input file "C:\CLI\AVRdude_CLI\fw_write\high.txt"
avrdude.exe: fileio: invalid operation=0
avrdude.exe: read from file 'C:\CLI\AVRdude_CLI\fw_write\high.txt' failed
If I try to read fusebits from the MCU to a file, then all works correctly - files with the names "high" and "low" are created in the folder, and the value of fusebits is contained inside the files. See the screenshots below.
If I try to write fusebits to the MCU directly from the console, then fusebits are written correctly. See the screenshot below.
Tested on avrdude versions: 6.3; 6.4; 7.0. Tested on microcontrollers: ATtiny13, ATmega8. OS: Windows 7 x64.