deroh
February 25, 2024, 5:17am
1
I'm trying to use the Rahic/avr-hal library so that I can program my Arduino Uno in Rust.
I've followed the installation steps listed on the repo for Windows 10, but I can't flash the demo project.
Everything looks fine until it starts programming the Uno via COM3.
avrdude error: unable to process system wide configuration file C:\Users\Jonath~1\AppData\Local\Temp\.avrdude-6P0nWT.conf
Error: avrdude failed
Reinstalling the software gave the same result.
I also tried using the Vanilla Arduino IDE, and that works fine.
I am rather lost for finding a solution.
Then just use the AVRDUDE that comes with the Arduino IDE.
2 Likes
deroh
February 25, 2024, 5:36am
3
That doesn't let me write code in Rust. (unless I'm completely misunderstanding what you mean).
AVRDUDE's sole purpose is to transfer a binary image to the device. It cares not about the programming language.
2 Likes
In order to make all relevant information available to any who are interested in this subject, I'll share a link to @deroh 's issue report in the avr-hal repository here:
opened 05:44AM - 25 Feb 24 UTC
I'm trying to perform the initial setup on my Windows 10 desktop using `winget` … and then write the blink-led file to an old (5 years) Arduino UNO.
Everything was working fine until `avrdude` attempted to program to the board on COM3. I receive the error below:
```
avrdude error: unable to process system wide configuration file C:\Users\Jonath~1\AppData\Local\Temp\.avrdude-6P0nWT.conf
Error: avrdude failed
```
I tried reinstalling Rust and the other software packages to no avail. I also gave the vanilla Arduino IDE a try and that worked.
How should I troubleshoot this kind of issue?
1 Like
deroh
February 25, 2024, 4:52pm
6
This worked. I mistook AVRDUDE for a component of the Rust avr-hal project which is how it compiles.
1 Like
system
Closed
August 23, 2024, 4:53pm
7
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.