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

Linux apt install has older version that does not support recent AVR models #1305

Closed
eprive opened this issue Feb 16, 2023 · 6 comments
Closed
Labels
invalid This doesn't seem right

Comments

@eprive
Copy link

eprive commented Feb 16, 2023

I was able to use avrdude to update an ATmega4809. It has the required boot loader loaded for use over a serial port. That version ( 6.3-20201216 ) has been working well on a Windows platform for more than a year.

When I installed avrdude this week (2023) on a machine running Linux, it turned out to be too dated and unable to handle the recent ATmega4809. The chip is not recognized, and appears to contain both an older version of avrdude and the avrdude configuration file.

@dl8dtl
Copy link
Contributor

dl8dtl commented Feb 16, 2023

But, well, what exactly would you expect us to do against that situation?

First, there is no "Linux" as such: there are various distributions, you don't even write which one you are using.
Second: it's up to the maintainers of these distributions to package up a recent version of the tools. We cannot do anything on that – neither do we know all Linux distributions, nor the people behind them.

@dl8dtl dl8dtl closed this as completed Feb 16, 2023
@dl8dtl
Copy link
Contributor

dl8dtl commented Feb 16, 2023

Besides: Windows does not ship AVRDUDE as part of the operating system either, so you somehow did install it there yourself. You are absolutely free to do the very same on your Linux system.

@eprive
Copy link
Author

eprive commented Feb 16, 2023

sorry for the incomplete explanation. I was under the impression that it had nothing to do with the Linux variant.
Because the installation of avrdude was done with the appropriate procedure with sudo apt install. And then the application is retrieved from a central server. I had no idea that this also depends on the Linux variant ( I have Xubuntu 18 ).

@mcuee mcuee added the invalid This doesn't seem right label Feb 17, 2023
@mcuee
Copy link
Collaborator

mcuee commented Feb 17, 2023

Ubuntu/Debian usually ship with quite old version of avrdude. Same for many Linux distro. You can always build your own.

Xubuntu 18.04 came with an old version of CMake so you may have to upgrade CMake.

@mcuee
Copy link
Collaborator

mcuee commented Feb 17, 2023

If you do not want to build from the source codes, you can also download the version distributed by the Arduino avrdude-packing project.
https://github.com/arduino/avrdude-packing/releases/tag/7.1-arduino.1

Reference:

@dl8dtl
Copy link
Contributor

dl8dtl commented Feb 17, 2023

You could also try a nightly build if you want, see:

https://github.com/avrdudes/avrdude/wiki/Getting-Nightly-Builds-for-AVRDUDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants