When I try to upload any sketch I get the message:
avrdude: can't open config file
c:\Users\donow\Appdata\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf": No such file or directory
Can anyone suggest how I can fix this problem. I am running win11. Files compile fine but can't upload due to this problem.
avrdude is located in:
C:\Users\donow\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17\etc
It appears that it is looking in a different directory. Maybe I need to alter the path?
This sounds like a corrupt installation. Using the boards manager, you can downgrade the AVR boards package and next upgrade it again to see if that fixes the problem.
avrdude.conf should be in C:\Users\donow\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17\etc
avrdude.exe should be in C:\Users\donow\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17\bin
I've attached a zipped version of avrdude.conf as it is on my system in case you want to install it.
Thanks it is solved.
For some reason it was located via another path with OneDrive in it. I copied the /etc/avrdude.conf from this path and placed it in the correct path, not the path with OneDrive in it. I've got no idea how this happened. Maybe because I had a problem with arduino and removed it and then downloaded it again or it could be because of some files coming over from my old pc????
You can mark the topic as solved by clicking the "solution" button under the most useful reply. This will let others know that a solution was provided; useful for those that encounter the same problem and useful for those that might want to help so they know.
I have no idea; I guess it depends on what you copied