avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03

Hello all.
Yes you have seen this before and I have read a lot of post about it. I am using Windows 8 and have been using an Arduono Uno for about two months with a ATtiny85. the other night I got this error and have no clue why.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03

Yes I have tried the loop back test and it worked. I uninstalled the Arduino program and reinstalled it, checked the com port, replaced the cable, went thru the troubleshooting section and nothing is working. I can upload a sketch to the Arduino but when I use it as a ISP I get this error. I bought a second Uno and right away got the same errors. Also tried on a second computer that it worked on before but to no avail. This is so frustrating. I have a project that I need to finish but can not. Can anyone help me? Maybe this will help it is the whole message as the sketch is uploading.

Arduino: 1.6.5 (Windows 8.1), Board: "ATtiny, ATtiny85, 8 MHz (internal)"

E:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10605 -DARDUINO_attiny -DARDUINO_ARCH_AVR -IE:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IE:\Users\Joe\Documents\Arduino\hardware\attiny\avr\variants\tiny8 C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\Blink.cpp -o C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\Blink.cpp.o

E:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -x assembler-with-cpp -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10605 -DARDUINO_attiny -DARDUINO_ARCH_AVR -IE:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IE:\Users\Joe\Documents\Arduino\hardware\attiny\avr\variants\tiny8 E:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S -o C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\wiring_pulse.S.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\WInterrupts.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\hooks.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\wiring.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\wiring_analog.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\wiring_digital.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\wiring_pulse.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\wiring_shift.c.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\CDC.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\HID.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\HardwareSerial.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\HardwareSerial0.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\HardwareSerial1.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\HardwareSerial2.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\HardwareSerial3.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\IPAddress.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\Print.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\Stream.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\Tone.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\USBCore.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\WMath.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\WString.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\abi.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\main.cpp.o

Using previously compiled file: C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp\new.cpp.o

E:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CE:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -pattiny85 -cstk500v1 -PCOM5 -b19200 -Uflash:w:C:\Users\Joe\AppData\Local\Temp\build8044737361962809442.tmp/Blink.cpp.hex:i

I think you might have damaged your attiny somehow. Hope that is not the case.

Can you disable the verbose logging on compile, while enabling it for the upload and then post a copy of that log here. When doing so, please place the log within code containers if possible.

Ok I disabled it and here is what I got.

Arduino: 1.6.5 (Windows 8.1), Board: "ATtiny, ATtiny85, 8 MHz (internal)"

Sketch uses 790 bytes (9%) of program storage space. Maximum is 8,192 bytes.

Global variables use 9 bytes of dynamic memory.

E:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CE:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -pattiny85 -cstk500v1 -PCOM6 -b19200 -Uflash:w:C:\Users\Joe\AppData\Local\Temp\build1441448462139909208.tmp/Blink.cpp.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "E:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM6

Using Programmer : stk500v1

Overriding Baud Rate : 19200

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03

avrdude done. Thank you.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Okay, I have never actually worked with an Attiny before so I might be mistaken.

You mentioned that you had an Uno that you were using as an ISP programmer. Have a go at using that to re-upload the attiny's bootloader.

Hi JRC610

I am using Windows 8 and have been using an Arduono Uno for about two months with a ATtiny85.

Just to check a few things ...

  • Have you upgraded the version of the IDE in that time?

  • Have you checked the wiring between the Uno you are using as a programmer and the ATtiny85?

  • To program the ATtiny85, you are uploading the "ArduinoISP" sketch from File - Examples to the Uno?

  • Have you been using Attiny85s with fuses already burned into them, or have you been using the ArduinoISP sketch to burn the fuses?

  • When you try to upload to the ATtiny85, you select the "Arduino as ISP" programmer from the menu?

Regards

Ray

Hello. No I have not tried to upload the Attiny Bootloader yet.
I set up my Uno and Attiny85 as directed in the High Low Tech web site. I was working with it for about two months and Had no problem with them on either computer. The other day I pulled my project off of the Uno and did another project, when I hooked up my original project is when I started having this problem. Yes it is wired correctly. I started with the Arduino 1.5.8 program and had not updated it. I uninstalled the 1.5.8 series and now have 1.6.4 version. no I did not load the ArduinoISP sketch. I do not use it. I have selected the Arduino as ISP programmer and have it wired as directed in the High Low artical. I have also removed the Attiny85 from my project and have it on a seperate bread board that is wired to the UNO.
Pin 1 on Attiny to Pin 10 on Uno
Pin 4 on Attiny85 to Ground on Uno
Pin 5 on Attiny85 to Pin 11 on Uno
Pin 6 on Attiny85 to Pin 12 on Uno
Pin 7 on Attiny85 to Pin 13 on Uno
Pin 8 on Attiny85 to 5v on Uno

Is this the website you referred to?

Turning the Arduino board into a programmer

We’re going to use the Arduino board to program the ATtiny. First, we’ll need to turn the Arduino board into an “in-system programmer” (ISP). To this:

Run the Arduino development environment.
Open the ArduinoISP sketch from the examples menu.
Note for Arduino 1.0: you need to make a small change to the ArduinoISP sketch before uploading it. Find the line in the heartbeat() function that says “delay(40);” and change it to “delay(20);”.
Select the board and serial port that correspond to your Arduino board.
Upload the ArduinoISP sketch.

I've just tried programming an ATtiny having selected "Arduino as ISP" as the programmer but without loading ArduinoISP onto the Uno. I get the same error messages as in your first post.

No. i went to http://highlowtech.org/?p=1695. When I reinstalled the Arduino 1.6.4 versuon. In the tools pull down I select the Attiny as my board. The Attiny85 as my Processor. Clock is 1Mhz( internal) and the Programer is Arduino as ISP

You all have got me curious now. How is it you can use an Arduino as ISP without uploading the ArduinoISP sketch to the Arduino?

OK, from that page ...

Materials and Tools

For this tutorial, you’ll need:

An in-system programmer (ISP), a piece of hardware used to load programs onto the ATtiny. Options include:
The Tiny AVR Programmer, a board we developed with SparkFun specifically for programming ATtiny45/85s.
Another commercial programmer like the AVRISP mkII or USBtinyISP.
a Arduino Uno or Duemilanove (w/ an ATmega328, not an older board with an ATmega168). See this tutorial for using an Arduino board as a programmer
ATtiny45 or ATtiny85 (8-pin DIP package) or an ATtiny44 or ATtiny84.
a solderless breadboard and jumper wires (unless you’re using the TinyProgrammer w/ the ATtiny45 or 85)

The text in bold is a link to this page: High-Low Tech – Arduino board as ATtiny programmer - see reply #6.

Right. And in that tutorial one of the steps is to upload the ArduinoISP sketch.

I will try uploading the ArduinoISP and see what happens

Before I upload the ArduinoISP sketch to it, I want to state again that I went here after I reinstalled Arduino 1.6.4 and it does not say to upload that sketch.

I read the article http://highlowtech.org/?p=1695. It says "See this tutorial for using an Arduino board as a programmer" which takes you to the article http://highlowtech.org/?p=1706, the details of how to prepare an Arduino for use as a programmer. Part of the preparation is uploading the software the Arduino would need to function as a programmer. Yes, it is true that high-low tech did not include every step in an all-encompassing article; a click to read more details in another article is required. Overall they look like pretty good articles, I'm going to bookmark them.

Ok so i did upload the ArduinoISP sketch which went thru and then the blink sketch. It comes up with the same error. Yes I picked the right board in tools Arduino Uno and yes I picked ArduinoISP as my programmer to load the sketch. I then went to tools and pick the Attiny as my board then I tried to burn the bootlaoder. I got the error of avrdude: stk500_recv(): programmer is not responding. So I switched out the Attiny85 chips and tried the same thing and came up with the same results. Also tried it with both of my Uno's

I don't understand the part about "upload the ArduinoISP sketch which went thru and then the blink sketch."
Perhaps you could give details step by step and explain what you are doing and at what point exactly you are getting an error.

Thank you, Thank you, Thank you. With much playing around I finally got it to work. Feel like a dunce tho. Had to unplug my Attiny85 from the Arduino before uploading. It did not recognize it while plugged in.
Again thank you for your time and patients. :slight_smile: :slight_smile: :slight_smile:

1 Like

JRC 610 did you first click burn bootloader and then connect your destination board? Is this the trick?

JRC610, I'm with the same problem with my ATtiny but I didn't inderstand what you have done to solve it. Can you explain with more detail?
rtt ninako

He unpluggeed the attiny from the arduino uno. It was interfering wih the upload