Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Arduino upload error "stk500_recv(): programmer is not responding" in Fedora

Tags:

linux

ide

arduino

I am attempting to upload the stock Blink sketch using the Arduino IDE in Fedora Core 15 Linux. I get this error:

avrdude: stk500_recv(): programmer is not responding

To recreate the issue:

  1. Plug in the Arduino Uno board via USB cable
  2. Open the Arduino IDE
  3. Menu FileExamples1. BasicsBlink
  4. Menu ToolsSerial Port → then check the box for /dev/ttyACM0
  5. Menu ToolsBoardArduino Uno
  6. Click the "Play" button to Verify/Compile (this step is successful)
  7. Click the Upload button, to get the error

I tried these same exact steps in Windows XP, and the upload was successful, so I must not have Fedora configured correctly.

I followed the Arduino Playground instructions, installing the client using yum and adding my user ID to the groups uucp, lock and dialout.

I did not follow the RXTX fixup -- Link the proper files part of the guide, since the given command did not return any matches: find ~ -name librxtxSerial.so -o -name RXTXcomm.jar | grep -v Download

like image 628
Drew Avatar asked Sep 26 '11 22:09

Drew


People also ask

How do I fix my Arduino programmer is not responding?

Close and reopen the Arduino IDE: Giving the Arduino IDE a fresh start can fix a host of problems avrdude stk500_recv errors included. Make sure you have the right Arduino board selected: In the Arduino IDE, go to Tools> Board, and select the Arduino board you're using from the list.

How do you fix Arduino not uploading?

Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload. This error can happen if the board on the selected port has been disconnected from the computer, or reassigned to a different port. Make sure the board is connected to your computer.

What does avrdude stk500_recv (): programmer is not responding mean?

Why the error avrdude: stk500_recv():programmer is not responding arise. From the above discussion it is clear that this error arises when there is a communication problem between the Arduino IDE and the Arduino board because a communication device interfaced with Arduino is using its TX and RX pins.

What programmer should I use for Arduino Uno?

The Arduino Uno is programmed using the Arduino Software (IDE), our Integrated Development Environment common to all our boards and running both online and offline.


2 Answers

For me, changing the cable worked.

I was using Ubuntu 17.04 (Zesty Zapus), Arduino Nano with ATmega28 and a USB cable with ferrite choke (I don’t think ferrite choke was the cause).

like image 57
unnamedPlayer Avatar answered Nov 25 '22 12:11

unnamedPlayer


Before uploading your programme, make sure you selected the right board type, from menu ToolsBoard.

like image 39
user1932106 Avatar answered Nov 25 '22 12:11

user1932106