168

I have an Arduino Duemilanove with an ATmega328. I am working on Ubuntu 12.04 (Precise Pangolin), and the Arduino IDE's version is 1.0. Recently, I tried to upload a few of the sample sketches onto it, such as the Blink one. However, none of my attempts are working and they result in the same error every time I try it:

avrdude: stk500_recv(): programmer is not responding.

I have enabled /dev/ttyUSB0 under menu ToolsSerial Port. I have also selected the correct board (Duemilanove with ATmega328) from the list. Yet, I am not able to resolve the issue. I have searched online as well and none of the other responses for this problem seem to be working for me. Why I am encountering this issue and how to resolve it?

I also tried turning the onboard ATmega and fitting it in the other direction. Now, I encounter no problems uploading, but nothing happens afterwards. The onboard LED also does not seem to be blinking.

2
  • Disconnect RST from GND on the Arduino uno board. I followed this tutorial and forgot to UNDO that.
    – ArtiomLK
    Oct 23, 2018 at 5:51
  • This could be because the baud rate is set to a wrong (probably too high) value. Mar 9, 2019 at 22:39

40 Answers 40

1
2
0

For my case it was the wrong baud rate. It calls this command:

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 **-b57600** -D -Uflash:w:C:\Users\Vahid\AppData\Local\Temp\arduino_build_527841/AnalogReadSerial.ino.hex:i 

As you can see, the baud rate is set to 57600. When you remove this argument (-b57600) and run it in command line it works fine.

0

My problem was that I updated the Arduino IDE to a new version and did not reconnect the wire. Looks like that was the problem

Just disconnect the cable and connect again. Thanks.

0

In MAC OS, just rebooted the computer and it worked after the reboot.

0

I was having the same issue and resolved it myself.

First: I have an (OSEPP UNO r3 PLUS). It's an Arduino Uno REV 3 made by OSEPP.

I just bought an OSEPP Motor and Servo controller shield. I just got motors working and then I stumbled upon the same error. avrdude: stk500_recv(): programmer is not responding.

I guess while it was connected it made/assigned a new serial port. Found in the Arduino program under menu ToolsSerial Port. I just reselected the one related to the Arduino Uno and bam, problem resolved.

0

I had the same problem with the Arduino Due, and most of the solutions proposed did not work.

The L LED was constantly on. My problem was resolved by unistalling the IDE and picking the experimental version 1.5.8. Then in the board I chose the bottom option Arduino Due (programming port).

Of course, you need to connect the USB cable on the programming port too.

0

I had to select the correct board. Go to menu ToolsBoardsArduino Nano for example.

0

For me it was as simple as setting the right ports.

To set that, go to menu ToolsPort, and change from COM1 to the appropriate port.

After this my program worked correctly.

0

I connected the DTR pin of my FT232RL to the DTR pin of my Arduino and it resolved the issue.

I'm using the Arduino Pro Mini w/ ATMega328.

0

In my case the main chip on the newly purchased board was not fully inserted. - The legs of the chip on one side were inserted into the slots, and on the other side they were not fully inserted. The chip stood slightly skewed. So, I just pushed the chip into the slots and the error dissapeared.

-2

Are you sure nothing else is using your connection? I had the same issue and, after some hours of research, I found that my root cause was different. Essentially I had to kill a task launched by a Python script that was using the serial connection. In my case this worked great:

sudo killall python

This will kill - unceremoniously - all the current python processes.

1
2

Not the answer you're looking for? Browse other questions tagged or ask your own question.