Skip to content

Conversation

@lazenyuk-dmitry
Copy link
Contributor

Hello. I had a problem with the firmware on win 11. But I don't know what exactly the reason is, in the system or in something else. In general, the board is not flashed via avrdude unless you press the button on the case and forcefully enter the bootloader mode. And this problem is not only with the graphical interface, the problem is in avrdude itself. The same error occurs via the terminal.

I found a solution by replacing https://github.com/mariusgreuel/avrdude. The author writes that his version has better support in windows.

@ZakKemble
Copy link
Owner

Heya, avrdude added a -r or -r 1200 option in 7.3 which "touches" the serial port and makes the Arduino enter upload mode - avrdudes/avrdude#1507

I want to keep to the offical avrdude which is currently 8.1, while the one you linked is based on 7.1.

The presets you've added are fine, could you add the -r option to the additional command line options to see if it works with the avrdude that ships with AVRDUDESS? Or does it need the mingw version (avrdude-v8.1-windows-mingw-x64.zip) from https://github.com/avrdudes/avrdude/releases/tag/v8.1

@lazenyuk-dmitry
Copy link
Contributor Author

It looks like need a different build to use the flag -r.
image

@lazenyuk-dmitry
Copy link
Contributor Author

I want to keep to the offical avrdude which is currently 8.1, while the one you linked is based on 7.1.

Yes. There is only an old version available now. And it would be better to use the official version of course. But your GUI is only for windows, perhaps it would be better to use better windows support. But the choice is of course yours)

@ZakKemble
Copy link
Owner

Could you see if the mingw version works with -r 1200?

I'll be sticking with the official avrdude, otherwise there will be someone else complaining that it's not v8.1 and doesn't support some new MCU or whatever lol. Hmm, maybe an idea would be to include a bunch of different avrdudes and have a dropdown to select which one to use.

@lazenyuk-dmitry
Copy link
Contributor Author

Could you see if the mingw version works with -r 1200?

Yes, the official mingw version works! -r or -r 1200

@lazenyuk-dmitry
Copy link
Contributor Author

Perhaps it is worth compiling an application with different versions of avrdude. so that you can download just the one you need and not increase the size unnecessarily.

Well, perhaps it is worth writing about -r in the documentation, somewhere in the problem solving section) I spent a lot of time on this. I need other people to be able to flash their boards and not have problems

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

Successfully merging this pull request may close these issues.

2 participants