Error Uploading to Arduino

Hi,

Im trying to upload my code to my arduino and I get this every time i try to upload. Im sure its not my code because i verified it and it works. Its giving me the same error for any code i try to upload even the examples. This is the error

syntax error at C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf:348

Hi,

Same issue for me: I installed Arduino 1.6.4 on Linux (rasbian wheezy) some days ago.
The code (ie: Blink.ino) compilation works fine, but when the upload comes I get similar error message as Metalengineer:
Syntax error at /etc/avrdude.conf:348

The given line contains the type name of the first programmer (linenumbers in []):

[345] programmer
[346] id="wiring";
[347] desc="Wiring";
[348] type="wiring";
[349] connection_type=serial;

Strange thing: on Windows the Arduino works fine with the same avrdude.conf settings.

Any idea? What can we do?
Thanks in advance!

Hi,

Maybe I found something. For a completely different reason I found a repository (?) here:

https://packages.debian.org/sid/armhf/libusb-dev/download

I added this line to the source.list, made a

sudo  apt-get update
sudo  apt-get upgrade

During the process I was asked whether I want to modify the avrdude.conf: Yes, I do.

When the process has stopped (after cca 20 minutes) I tried to compile the Blink code, and everything went fine. :slight_smile:

So maybe there is an update for the avrdude, try to find it.

Good luck! :wink:

katonacs:
https://packages.debian.org/sid/armhf/libusb-dev/download

I added this line to the source.list, made a

Can someone elaborate on how to do this?

Does "deb" go before this source.list item? Does "sid main" go after?

Thanks,
Micah