edward0429 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Always "avrdude: stk500_recv(): programmer is not responding" error #528

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect "Arduino Diecimila ... ATmega 168" via USB
2. Open Arduino
3. Upload a program

What is the expected output? What do you see instead?
I would rather like a successful upload to the board instead of this stupid 
error.

What version of the Arduino software are you using? On what operating
system?
I have tried to upload a program with Arduino 0018 + 0022 on Ubuntu 10.10 x64 
and Windows Vista (32 bit). Additionally, I have used different USB cables on 
different USB ports to exclude a computer hardware problem.
Unfortunately, all without success.

Which Arduino board are you using?
Arduino Diecimila with an ATmega 168

Please provide any additional information below.
I created a forum thread for this problem, but it is in german.
URL: http://arduino.cc/forum/index.php/topic,57647.0.html

Original issue reported on code.google.com by Atalantt...@gmail.com on 25 Apr 2011 at 2:40

GoogleCodeExporter commented 8 years ago
Did you try pushing the Reset button on your board just before uploading? It 
resets th e microcontroller so it can respond to the programmer without all 
those interrupts and everything that kept it in a "trap".

I had to do this all the time when I used the arduino bluetooth board.

Original comment by mw.mzp...@gmail.com on 27 Apr 2011 at 12:23

GoogleCodeExporter commented 8 years ago
Yes, but it didn't take any effect.

Original comment by Atalantt...@gmail.com on 27 Apr 2011 at 6:04

GoogleCodeExporter commented 8 years ago
After 1 year, I am having the same problem. If someone managed to solve this 
problem it would be great that they put the solution online!

Ubuntu 12.04, Arduino 1.0.1 IDE AND Arduino 1.0 IDE, the board is Arduino pro 
mini 5V ATmega 328

Original comment by ningun...@gmail.com on 31 Oct 2012 at 1:17

GoogleCodeExporter commented 8 years ago
same problem here.
MacOS X, Arduino 1.0.3 IDE, board Arduino pro mini 328 3.3V 8MHz.

The problem was supposed to be fixed in the Arduino 1.0.1 IDE version, but 
unfortunately it is not.
http://arduino.cc/en/Main/ReleaseNotes

Original comment by christia...@gmail.com on 8 Jan 2013 at 9:30

GoogleCodeExporter commented 8 years ago
Same issue.

Board MEGA2560 and cabling work and can be programmed on my Win7 but not on OSX 
10.8.5.
Release: Arduino Alpha 0019 on OSX.
Problem: unable to program any sketch (any any any)
Debug:

Binary sketch size: 3408 bytes (of a 126976 byte maximum)
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude

-C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdu
de.conf -v -v -v -v -patmega1280 -cstk500v1 -P/dev/tty.usbmodem1a21 -b57600 -D 
-Uflash:w:/var/folders/10/6xkj8b_d18lccb0rqbsf65q40000gn/T/build1605839061460943
672.tmp/AnalogReadSerial.cpp.hex:i 

avrdude: Version 5.4-arduino, compiled on Oct  9 2007 at 11:20:31
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/Miguel/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port            : /dev/tty.usbmodem1a21
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 57600
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: Send: Q [51]   [20] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

Original comment by miguel.m...@gmail.com on 7 Jan 2014 at 11:22

GoogleCodeExporter commented 8 years ago
You have to press reset just before the:  avrdude: Send: 0 [30]   [20] 
Apparently the handshaking is messed up and this is a workaround, see: 
hxxps://stackoverflow.com/questions/19765037/arduino-sketch-upload-issue-avrdude
-stk500-recv-programmer-is-not-respondi

Haven't found the actual problem so living with the reset workaround atm

Original comment by simonmin...@gmail.com on 16 May 2014 at 12:54

GoogleCodeExporter commented 8 years ago
If someone is still having this problem, I solved it adding a switch between 
Aduino GND and Programer GND. Just before avrdude sends the first three 
packets, push the switch to turn on the Arduino. Try to get the shorter time 
between this events. It is a little tricky but it works for me.

Original comment by sopo...@actimediaonline.com on 8 Jul 2014 at 10:56