Programming the ATtiny45 with Arduino 1.8.5 IDE

I have programmed these chips before using 1.0.1 IDE. I'm now using 1.8.5 and the am using the instructions from here:

https://create.arduino.cc/projecthub/arjun/programming-attiny85-with-arduino-uno-afb829

I have double checked the wiring and followed all the steps as outlined on the site. The problem I'm running in to is when told to Burn Bootloader, nothing happens I end up getting the following messages:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc0
Error while burning bootloader.

Any pointers as to what may be causing these sync errors and how to make this work? I have tried 2 of the ATtiny45 chips with the same results.

Thanks for any info.

John

Put a 10uF cap across reset and ground of the arduino being used as programmer after uploading ArduinoAsISP sketch to it.

Also, put a 0.1uF cap between vcc and ground as close to the tiny85's pins as you can; omitting this can lead to hangs or resets (this should be there all the time, not just when programming).

As per the drawings noted in the link I provided, I do have the 10uf cap from reset to gnd. This has worked in the past using IDE 1.0.1 with no problems. Maybe I need to go back to that rev and try again.

The sync error indicates a failure to communicate with the Arduino as ISP sketch on the Uno. So look for problems there - Is the sketch actually uploaded, is the cap actually making good contact, is the right programmer selected from tools -> programmer (Arduino as ISP, not ArduinoISP) - that sort of thing.

Arduino as ISP definitely works in the 1.8.x versions of the IDE, I use it occasionally (though I generally just use USBAsps). Note that I do my testing with my core (ATTinyCore - which is much better than the other cores - among other things, you can use the Wire and SPI libraries, and it transparently uses the correct implementation for the hardware, with no need for special libraries and attendant modification of libraries for I2C/SPI devices; it also includes a version of Servo that works for the attiny x5 and x61 series parts).

Well I went back to the original article about the ATTiny programming and grabbed that library and now everything works with the 1.8.7 IDE.

I also forgot load the UNO with the ISP sketch first and then I was able to program the chips.

It had been a while since I programmed the first ATTiny chip so I forgot one step. OOPS !!

John