Go Down

Topic: (SOLVED) Ubuntu 10.10 - avrdude errors on first test with Uno (Read 839 times) previous topic - next topic

abarrow

Apr 01, 2011, 07:33 pm Last Edit: Apr 01, 2011, 08:13 pm by abarrow Reason: 1
Okay, newbie here so be gentle!  Been doing a lot of searching and can't seem to find a solution

Followed directions in various posts about what was needed for installation of Arduino IDE in Ubuntu 10.10.  Runs without errors.  Version is listed as 0022.

When I try to upload to my new Uno, I get a couple of error scenarios:

1. Out of the box, clean install with no modifications, when I upload via USB I get:

avrdude: Can't find programmer id "arduino" , (with a list of available programmers).

2. After a bit of searching, I decided to add this to my avrdude.conf file:

programmer
 id    = "arduino";
 desc  = "Arduino";
 type  = arduino;
;
Then when I upload, I get:
error at /usr/share/arduino/hardware/tools/avrdude.conf:313
unrecognized character: "a"

Which would seem to indicate that the avrdude version in the Ubuntu repository is not patched for "arduino" programmer?  Or what?

Sounds like others aren't having this problem with the Ubuntu 10.10 repositories.  Anyone have any ideas?

Any help would be most appreciated.

UPDATE:
Okay, fixed my own problem.  When I was cleaning out old programs, I uninstalled "arduino" and "arduino-core" but didn't uninstall "avrdude".  After I did that, and reinstalled all three programs from the repository, all is well.  I must have had an old version of avrdude that I didn't know about.  Onward!

Go Up