arduino stk500_recv(): programmer is not responding error
avrdude: stk500_recv(): programmer is not responding
In Debian squeeze and Ubuntu you may get an error like this while trying to upload your program…..To fix this error
First install arduino software with all its dependencies from the package manager
1 |
sudo apt-get install arduino arduino-core |
Next, we’ll get a compatible (2.2pre2-3 or newer) version of librxrt-java to allow Java to handle the I/O (rx/rt);
you can check the files at this link
http://ftp.debian.org/debian/pool/main/r/rxtx/
Now download the file
1 2 |
wget http://ftp.debian.org/debian/pool/main/r/rxtx/librxtx-java_2.2pre2-11_i386.deb sudo dpkg -i librxtx-java_2.2pre2-11_i386.deb |
Now add yourself to the ‘dialout’ group:
1 |
sudo adduser `whoami` dialout |
and log out and log back in, or reboot. This is necessary for access to the serial (USB) port.
download the Arduino software, with it’s recent 1.0 release, from the Arduino.cc website.
We extract that software, enter the folder, and run the software:
1 2 3 |
tar -xvzf arduino-1.0-linux.tgz cd arduino-1.0/ ./arduino |
Plug in your Arduino board via USB to your computer, wait a few seconds to register the new device, and again launch the Arduino software:
1 |
./arduino |
Go to the Tools menu, Board submenu, and select whatever your board is
Finally, again click the Tools menu, Serial Port submenu, and select correct device.

