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

cargo run - Error: Failed reading avrdude version information. #600

Closed
alter-kaker opened this issue Nov 10, 2024 · 2 comments
Closed

cargo run - Error: Failed reading avrdude version information. #600

alter-kaker opened this issue Nov 10, 2024 · 2 comments

Comments

@alter-kaker
Copy link

alter-kaker commented Nov 10, 2024

Trying to set up a Rust toolchain for Arduino because I'm no good at all with C/C++.

I'm using the cargo generate --git https://github.com/Rahix/avr-hal-template.git template. Build goes fine, but cargo-run gives the following output:

$ cargo run
    Finished `dev` profile [optimized + debuginfo] target(s) in 0.17s
     Running `ravedude nano -cb 57600 target/avr-atmega328p/debug/mediaplayer.elf`
Error: Failed reading avrdude version information.

Caused by: No such file or directory (os error 2)

I'm running Arch (EndeavorOS), fully updated as of today.

Thanks!

@alter-kaker
Copy link
Author

I needed to install avrdude.

@Rahix
Copy link
Owner

Rahix commented Nov 11, 2024

I guess we could add a check that avrdude is even there before trying to read out the version. The error message would then be a lot less confusing!

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

2 participants