Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
masya-chel opened this issue Jul 22, 2022 · 2 comments
Open

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

masya-chel opened this issue Jul 22, 2022 · 2 comments

Comments

@masya-chel
Copy link

masya-chel commented Jul 22, 2022

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
Copy link
Owner

As the issue does not seem to be Windows specific, can you please post the issue here:
https://github.com/avrdudes/avrdude/issues

@mcuee
Copy link
Contributor

mcuee commented Jan 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants