avr-hal: Ravedude can't resolve port on MS Windows 10
I have an arduino uno connected to port COM3 and ravedude can’t find it, I tried setting the RAVEDUDE_PORT environnement variable to COM3 but still don’t work. The arduino IDE can find it and I’m running windows 10. I tried all USB ports and manually changed the port from device manager. Error:
PS C:\Users\Baptiste\Documents\code\Rust\arduino\tests> cargo run
Finished dev [optimized + debuginfo] target(s) in 0.16s
Running `ravedude uno -cb 57600 target\avr-atmega328p\debug\tests.elf`
Board Arduino Uno
Error: no matching serial port found, use -P or set RAVEDUDE_PORT in your environment
Caused by: Serial port not found.
error: process didn't exit successfully: `ravedude uno -cb 57600 target\avr-atmega328p\debug\tests.elf` (exit code: 1)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (9 by maintainers)
I’ve uninstalled WinAVR and installed a windows clone of avrdude from https://github.com/mariusgreuel/avrdude, AND IT WORK