Robotics StackExchange | Archived questions

Loading the ROS Sketch onto the Arbotix board

I am trying to load the ros.pde sketch onto the ArbotiX board for use with the turtlebot arm, and I keep getting an error when trying to upload the sketch. The error that I am getting is:

avrdude: stk500_recv(): programmer is not responding

My boards.txt file contains this segment:

# To use an ISP: uncomment the next line, comment out the protocol line
#arbotix.upload.using=avrispmkii
arbotix.upload.protocol=stk500
#arbotix.upload.protocol=arduino

The board is powered on and connected to the computer using the FTDI USB-TTY cable listed here: http://www.amazon.com/USB-Header-Like-FTDI-TTL-232R-5V/dp/B004LC28G2/ref=sr12?ie=UTF8&qid=1328642741&sr=8-2

I tried the FTDI Sparkfun breakout board with a normal mini usb cable and it crashes my arduino ide with the error /dev/USBTTY1 No such file or folder.

I am running arduino 0018 (as per the suggestion on the arbotix site), which I downloaded directly off of the arduino site (not through apt-get).

Does anyone have an idea of why I am having problems uploading this sketch? Thank you very much!

Asked by Aroarus on 2012-02-07 06:34:34 UTC

Comments

Answers

You are using an FTDI adapter, not an ISP, so you should not have uncommented the .upload.using= part.

If you have an error about a port not being present, you need to change the port selection within the Arduino IDE (found in the Menu under Tools).

Asked by fergs on 2012-02-07 07:58:14 UTC

Comments

That was an attempt to fix the problem that I edited in above. I have put my boards.txt file back the way it was and am now still receiving my old error (above).

Asked by Aroarus on 2012-02-07 09:52:00 UTC

If too many interrupts are present in the system, you could get this error. I usually got them when I "overused" the microcontroller on my Arduino with complicated code.

Asked by Bence Magyar on 2012-02-09 02:59:24 UTC

Comments