Avrdude: verification error; when uploading the blink sketch on Arduberry[SOLVED


Dear All,

After following the well-documented instructions at [1] to use
Arduberry on a Rasberry pi 2, I then opened arduino IDE 2:1.05+dfsg2-4
and selected:
Tools -> Programmer -> Raspberry Pi GPIO
Tools -> Gertboard with ATmega328(GPIO)

I therefore upload the Blink sketch which said Done uploading
but presents the following issue at the bottom of the terminal:

Binary sketch size: 1,104 bytes (of a 32,768 byte maximum)
avrdude: verification error, first mismatch at byte 0x0110
0x68 != 0x60
avrdude: verification error; content mismatch

Do you have any idea what I am doing wrong or what is happening? or
any suggestion to solve the previous issue?

[1] http://www.dexterindustries.com/arduberry-tutorials-documentation/



Can you choose the board as Arduino Uno and programmer as Raspberry Pi GPIO and then press Ctrl+shift+U (Upload as a programmer option) to upload. Here is a guide to burning a sketch for the first time: http://www.dexterindustries.com/Arduberry/how-to-program-the-arduberry/loading-example-sketch/.



Dear Karan,

I appreciate your time and help. Following your advice and the well-explained tutorial. I got the following error
on the Arduino IDE:

Serial port ‘/dev/ttyACM0’ not found. Did you select the right one from the
Tools > Serial Port menu?

As you can see, there is something wrong with the serial port, to which I copy
the output the ./setup.sh at http://pastebin.com/Lb8WWVWT

Do you think it might be related to the following lines when
setting rasbperry pi with the getboard and atmega chip:

Replacing/updating files:
inittab: cp: cannot stat ‘inittab’: No such file or directory
./setup.sh: line 61: inittab: No such file or directory
mv: cannot stat ‘/tmp/inittab.1571’: No such file or directory

Cybernetically Yours,
miguel ~https://twitter.com/mperezxochicale


With the Arduberry, we use the SPI pins to update the firmware. To do this, select the programmer as Raspberry Pi GPIO Tools->Programmers->Raspberry Pi GPIO and then to upload the code to the Arduberry, us the upload using the programmer option, File ->Upload using programmer.

Do let us know if this helps.



Dear Karan,

I really appreciate your time and help. For some silly reason, I did not read
well the instructions and I just did a simple upload which was the main reason of the previous issue.
Now, following the well-written instruction and your advice of using File ->Upload using
programmer, the arduberry loads the code successfully.

Cybernetically Yours,
miguel ~https://twitter.com/mperezxochicale