Avrdude.conf error

Can anyone help me? I don't know if I accidentally deleted something or what, but when I upload the code from the IDE to the Arduino Uno, it encounters error saying

avrdude: can't open config file "C:\Users\Mao\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf": No such file or directory
avrdude: error reading system wide configuration file "C:\Users\Mao\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Failed uploading: uploading error: exit status 1

I checked on the "6.3.0-arduino17" file and under it is only a file named "bin", there is no "etc" file under it.

P.S. the avrdude.config is in different location

Does anyone have a solution for this?

I think that the simplest solution is to downgrade the AVR board package and next upgrade it again. It should fix any possible problems.

Just in case, this is the avrdude.conf; just removed the .txt extension.
avrdude.conf.txt (495.1 KB)

PS
The etc directory should be at the same level as the bin directory, not inside it.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.