avrdude: stk500_recv(): programmer is not responding on Uno

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 11:48 pm

avrdude: stk500_recv(): programmer is not responding on Uno

Post by McBain »

Hello,
I am running Ubuntu 10.10 and Arduino sketchpad 21. I am unable to upload the blink sketch to my Uno, and I receive the following error when I attempt to do so:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

(It appears twice in the comments line.)
Am I missing drivers?

Thanks,
McBain

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by adafruit_support_bill »

Have you been through this install procedure? http://www.arduino.cc/playground/Linux/Ubuntu
Does the Uno show up as a serial device when you plug it in?
Have you selected the COM port and board from the tools menu?

McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 11:48 pm

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by McBain »

Thanks for getting back to me. Yes, I went through the steps at the arduino playground. In the sketchpad, under tools, I select my board (Uno) and under serial port /dev/ttyS0 is checked off.

I also used the following page to verify that I had the necessary supporting programs installed:
I have already uninstalled brltty.

http://www.arduino.cc/playground/Learning/Linux

I know that I have everything listed under the requirements heading in the above link installed, except possibly, avr-libc. That might one place to start. I downloaded the latest version of avr-libc from the site that supports it, however I couldn't figure out how to install it; none of the executable files in the extracted .tgz file wanted to run. I am unsure whether it's already installed on my machine, along with preinstalled things like java runtime. Suggestions?

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by adafruit_support_bill »

The 'programmer is not responding' error is a communication problem. It would not be caused by a missing avr-libc (that would cause compile-time problems). If you can sucessfully do a verify/compile (first command in the 'sketch' menu) you have all the files you need.

What do the on-board LEDs do:
1) when you plug in the board?
2) when you attempt a download?

McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 11:48 pm

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by McBain »

When I plug in the Uno, the on/off LED turns on, and the pin 13 LED begins flashing steadily at about .5Hz. When I attempt to upload a sketch, pin 13 blinks very rapidly at the moment I click upload, then returns to blinking steadily at about .5Hz.

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by adafruit_support_bill »

Does it resume blinking immediately? Or is there a delay?
What do you see when you press the reset button?
Try pressing reset at the same time you start the download.

McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 11:48 pm

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by McBain »

There is no delay when I attempt to download a sketch; it immediately does a quick "burst" then continues its slow blink. Likewise, when I hold the reset button, the LED stays off while it's depressed, then does a quick burst immediately upon release, followed by the slow blink. The same thing happens when I hold reset button while downloading a sketch; light turns off, then bursts once the button is released and resumes its .5Hz blink.

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by adafruit_support_bill »

Not sure about the uno. But on the duemilanove there is a few seconds of nothing after a reset while the bootloader waits for a download. The usb/serial is supposed to toggle the rts line on connect to cause the reset.

[edit] I just hooked up an Uno here and it blinks pretty much as you describe - three short blinks on reset, then it resumes the regular blink pattern after about a second

McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 11:48 pm

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by McBain »

Are you plumb out of suggestions, or is there anything else I can try? I already confirmed with adafruit that my particular unit works. I'll try uploading again from my netbook (also running Ubuntu) and a Macbook to see if I can get sketches on from there, but that won't get at the core problem of why it doesn't work on the computer I'm using now.

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by adafruit_support_bill »

I'm don't have an ubunto environment & haven't heard of this particular problem on linux systems. But the Uno is relatively new and I don't have a lot of experience with it yet. There are some Mac users with older versions of OSX that have similar troubles with the Uno. It seems they have to hit the reset button at precisely the right time after the download to make it work.
I already confirmed with adafruit that my particular unit works.
That tends to point to an OS/driver issue of some sort. Have you checked tnhe forums over at Arduino.cc to see if anyone is having similar issues?

User avatar
chuckm
 
Posts: 159
Joined: Thu Dec 24, 2009 3:31 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by chuckm »

McBain wrote:When I plug in the Uno, the on/off LED turns on, and the pin 13 LED begins flashing steadily at about .5Hz. When I attempt to upload a sketch, pin 13 blinks very rapidly at the moment I click upload, then returns to blinking steadily at about .5Hz.
I realize this is a long shot, but the .5hz blinking of the LED is the demo program "Blink" loaded into the Arduino when it was originally programmed with a boot loader. It provides a quick visual check that the AVR is working.

Sometimes, the first "demo" program people attempt to upload is also "Blink.pde" which is effectively the same program.

If you were trying to upload blink.pde you would get the symptoms you describe, .5 hz blink, rapid blinking, .5hz blink. I suggest to folks who are trying out the Arduino for the first time that they change blink.pde to either blink quickly or very slowly. That way the blink rate changes from the original install :-)

--Chuck

McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 11:48 pm

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by McBain »

Thanks for the suggestion, Chuck. I was able to get the arduino to take sketches from my netbook, which I was not able to do when I first tried on there, but I'm wiser than I was a few weeks ago, and realised I was missing some important stuff like java runtime and and the compiler.

This still leaves unresolved the question of why it won't work on my desktop, but I will change the blink frequency from the desktop to see if it is actually uploading in spite of the error messages.

To arduwino, I haven't been to the arduino.cc forums in the last couple weeks, but that was the first place I posted when I first received my starter pack and was having problems. No one has yet responded to my post yet. And yes, there must be some as yet undiagnosed OS and/or driver problem on my desktop.

tomaton
 
Posts: 1
Joined: Wed Sep 28, 2011 3:15 am

Re: avrdude: stk500_recv(): programmer is not responding on Uno

Post by tomaton »

Hi, McBain, the issue you responded has been discussed on the arduino site. If you like, look it in here arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1168940083

User avatar
azaturkmen
 
Posts: 7
Joined: Fri Aug 07, 2015 8:58 pm

Re: avrdude: stk500_recv(): programmer is not responding on

Post by azaturkmen »

Hi, we have a same problem. we are using mac Yosemite. we have all arduino boards and 4 unos. with 3 of them and other boards we have no problem with uploading sketches. But we have problem with uno we bought from you. What should we do?

Note:
First Arduino IDE always warned me about manufacturer is uncertified. I dont remember exactly message.


Thank you.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
.....

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: avrdude: stk500_recv(): programmer is not responding on

Post by adafruit_support_mike »

Try downloading the latest version of the Arduino IDE (1.6.5 as of today) and see if that helps.

At minimum, it will get rid of the warning message. That was a side-effect of the trademark dispute between the two groups which claim rights to the name 'Arduino'.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”