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

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

Postby McBain » Fri Dec 03, 2010 3:25 pm

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
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 10:48 pm

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

Postby adafruit_support_bill » Mon Dec 06, 2010 6:13 am

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?
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am

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

Postby McBain » Tue Dec 07, 2010 2:54 am

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?
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 10:48 pm

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

Postby adafruit_support_bill » Tue Dec 07, 2010 5:57 am

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?
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am

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

Postby McBain » Tue Dec 07, 2010 1:34 pm

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.
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 10:48 pm

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

Postby adafruit_support_bill » Tue Dec 07, 2010 2:36 pm

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.
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am

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

Postby McBain » Tue Dec 07, 2010 3:07 pm

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.
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 10:48 pm

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

Postby adafruit_support_bill » Tue Dec 07, 2010 3:21 pm

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
User avatar
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am

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

Postby McBain » Wed Dec 08, 2010 5:50 pm

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.
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 10:48 pm

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

Postby adafruit_support_bill » Wed Dec 08, 2010 9:30 pm

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
adafruit_support_bill
 
Posts: 16083
Joined: Sat Feb 07, 2009 9:11 am

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

Postby ChuckM » Thu Dec 09, 2010 12:52 pm

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
ChuckM
 
Posts: 139
Joined: Thu Dec 24, 2009 2:31 am

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

Postby McBain » Thu Dec 09, 2010 7:05 pm

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.
McBain
 
Posts: 8
Joined: Thu Dec 02, 2010 10:48 pm

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

Postby tomaton » Wed Sep 28, 2011 2:20 am

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
tomaton
 
Posts: 1
Joined: Wed Sep 28, 2011 2:15 am


Return to Arduino Starter Pack

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]