mariusgreuel / avrdude

AVRDUDE for Windows
GNU General Public License v2.0
112 stars 14 forks source link

Writing fusebits to the MCU from a file does not working #11

Open masya-chel opened 2 years ago

masya-chel commented 2 years ago

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.

mariusgreuel commented 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

mcuee commented 8 months ago

I believe the issue has been fixed in avrdude 7.2 release. https://github.com/avrdudes/avrdude/releases/tag/v7.2