FIXING ARDUINO STK500_RECV(): PROGRAMMER IS NOT RESPONDING ERROR on ubuntu 14.04

Post date: Nov 10, 2015 5:28:34 AM

I have just installed IDE 1.6.6 on ubuntu 14.04 linux computer and i get this frustrating error message each time i try to upload my sketch to the arduino board

After few google research i found out this first solution:

The solution for me was to switch on verbose output during upload (in the arduino IDE preferences pane).

Then, when uploading, you can see avrdude sending three packets avrdude: Send: 0 [30] [20](with corresponding RX flashes on the board) right before the avrdude: ser_recv(): programmer is not responding error.

The trick is to hit the reset button on the board immediately before these three packets are sent. Then the program will be uploaded successfully.

Source:http://stackoverflow.com/questions/19765037/arduino-sketch-upload-issue-avrdude-stk500-recv-programmer-is-not-respondi

But unfortunately this solution has worked only once for me. it was OK until i unplug re-plug the USB cab le to the arduino board .

Then what ever i try to do, reset or not reset, verbose or not, i always have the STK500_RECV(): PROGRAMMER IS NOT RESPONDING frustrating message.

Thanks to halfageek https://importgeek.wordpress.com/2012/12/13/fixing-arduino-stk500_recv-programmer-is-not-responding-error/

who give me the good solution to solve this problem.

First install arduino software with all its dependencies from the package manager

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/

for my realease it was librxtx-java-dbg_2.2pre2-11_amd64.deb

Now download the file

wget http://ftp.debian.org/debian/pool/main/r/rxtx/librxtx-java-dbg_2.2pre2-11_amd64.deb sudo dpkg -i librxtx-java_2.2pre2-11_amd64.deb

Now add yourself to the ‘dialout’ group:

sudo usermod -a -G dialout whoami change 'whoami' with your actual username

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.6.6 release, from the Arduino.cc website.

Extract that software, enter the folder, and run the software:arduino-1.6.6-linux64.tar.xz

tar -xvzf arduino-1.6.6-linux.tar.xz 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:

./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.

Now try uploading…..

if necessary you can move the folder to an other location and make a link that you can copy on your desktop:)

Happy Hacking ....:)

Note: If necessary you can move the folder arduino-1.6.6 to an other location, make link that you copy to your desktop.