ArduinoGeneral

Unable to program Raspberry Pi B+ Arduino Shield

userHead Account cancelled 2015-12-14 16:15:58 2851 Views1 Replies
I bought an RPI B+ Arduino Shield but I'm not able to program it via the USB plug.

I'm using Ano, which wraps avrdude, and it works with all my other Arduino UNOs. However, when I plug in a USB cable and try to upload the blink sketch, it responds with:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00


I'm running on Ubuntu 14.04. When I plug in the hat via USB, /dev/ttyACM0 appears correctly and I can login to the Raspberry Pi 2 without issue, but I can't communicate with the Arduino.

What would be causing this error? The wiki doesn't mention any special way of programming the hat, so I'm assuming it would be the same process as a normal Arduino UNO, just plug it in via USB and upload the sketch.
2015-12-14 23:08:03 Hello Spencer,

Welcome!

Read source page on Instructible.

the fix is actually very easy (at least for me, hopefully for you as well!). So far, there seems to be 2 3 big causes to this issue:


1). A wire is connected to pin0

2). You have the wrong COM port selected (the IDE does not see your board)

3). Your Arduino drivers are not set properly.
userHeadPic Leff