I've been attempting to program an ATTiny85 with an Arduino R3 and am getting stuck in trying to burn the bootloader. I've read through many previous posts about this and tried seemingly all the fixes. I've replaced the wires, used a brand new Arduino board, and tried several different ATTiny85's but still getting the same error.
I could really use some help as I've been trying to solve this for weeks!
Error:
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
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Failed uploading: uploading error: exit status 1
As we see too often with Instructables projects, the tutorial is of low quality. It is ironic that the author of the tutorial included pointless instructions about drilling holes in the board and screwing it to a piece of wood, but didn't provide the essential instructions for making the UNO R3 into an "Arduino as ISP" programmer:
To program the ATtiny you now need to set the Arduino as a programmer. The Arduino ISP sketchturns your Arduino into an in-circuit programmer to re-program the ATtiny chip. This is really is to do so just follow the steps below.
STEPS:
To upload Arduino ISP sketch to your Arduino, follow this path in Arduino IDE - Files / Examples / ArduinoISP (image 1)
Once you do this, another screen will pop up. You'll notice at the top left hand corner it is named Arduino ISP. (image 2)
You have now turned your Arduino into a programmer, ready to program your ATtiny!
There is no need to run the sketch that appears - just continue to do all the following steps everything in the Arduino ISP screen that popped-up
Now it is time to set up the ATtiny by installing its core files
They only instructed you to open the "ArduinoISP" sketch in Arduino IDE, but forgot the essential step of uploading that sketch to the UNO R3 board. The error you encountered occurs when you are attempting to use an "Arduino as ISP" programmer to perform a "Burn Bootloader" operation, but haven't uploaded the "ArduinoISP" sketch to the board you are using as the programmer.
I'll show how someone competent writes instructions:
Connect the UNO R3 board to your computer with a USB cable.
Select File > Examples > 11.ArduinoISP > ArduinoISP from the Arduino IDE menus.
The "ArduinoISP" sketch will open in Arduino IDE.
Select Tools > Board > Arduino AVR Boards > Arduino Uno from the Arduino IDE menus.
Select the port of the UNO R3 from Arduino IDE's Tools > Port menu.
Select Sketch > Upload from the Arduino IDE menus.
Wait for the upload to finish.
So do that and then try the "Burn Bootloader" again. Hopefully this time it will be successful.