Trying to programme ATTiny 85 [SOLVED]

I have installed ATTinyCore and tried that, getting the same error message, it does not seem to be recognising the ATTiny85 for some reason. I think I have another ATTiny85 but don't want to risk it without a capacitor.

did you do my whole procedure ?
What was the error message as a result of the bootloader.

There is no real risk involved other than it just not working.

I don't think there is anything in here that others have not already covered, but maybe the extra screen shots will help. Just look at section 1 pages 5-11. These are notes I made when learning how to program the ATtiny85 for the first time. Some of the links are likely to be out of date as it was done a few years ago. I think there is a better / more up to date ATtiny board support package. There is also alot of other ATtiny85 stuff in the pdf beyond section 1, but it's not relevant to you at the moment.
LogBook-Vol06 - ATTiny85Only.pdf (7.4 MB)

1 Like

Many thanks, followed the PDF and eventually got it to work.

Many thanks to all who contributed, problem now solved using ATTinyCore and the PDF supplied by GolamMostafa.

Glad to hear that my writeup helped you to get your board working.

Good catch. I use a dip socket with the bypass cap between the ATTiny and the socket. When I first started with the ATTiny it wouldn't do anything without that cap.

I will get some capacitors for the future.

Thanks Dave, I will have a read.

I looked through this topic and did not find any reference to using a 10 ufd. capacitor between “reset” and “GND” on the Uno. Most of the videos I have seen and articles I have read on this subject say to do this to prevent the Uno from resetting when the download starts. Is this capacitor necessary? @SierraGolfMike, did you use this capacitor.

Edited to correct spelling.

I managed to burn the boot loader and upload the Blink sketch to the ATtiny85 without using a capacitor.

1 Like

It's shown in the pdf attached to post #23. I can't remember exactly why it was required now, as it was a few years ago when I made the notes in the pdf. It was a fiddle adding / removing it, and the loose jumper wires between the Uno and the breadboard were not satisfying. That's why I made myself a board (also shown in the pdf) with a ZIF socket for the ATtiny and an ICSP header that could be used with an ICSP programmer to cut the Uno out of the programming chain.

I didnt make it through all the replies so this may have been addressed but i dont see the cap on the reset pin on the Arduino. When using Arduino as ISP theres supposed to be a capacitor on the reset pin to keep the Aruino from resetting when you start the upload. Without that cap the upload is triggering the bootloader on the UNO and its trying to load there and seei.g that its the wrong chip.

I have never used that capacitor as I could not find any good reason for the usage. I am doing uploading using ISP Interface in which the RESET signal for the ATTiny85 is generated by SS/-pin (DPin-10) of UNO (the ISP Programmer).

2 Likes

Perhaps not necessary with newer IDE and / or ATtinyCore, but when I was programming an ATtiny85, with an Uno as the programmer, a few years ago I wrote this in my notes:

1 Like

Thanks for all the replies. It seems that the capacitor may not be needed all the time but @Dave_Lowther’s notes describe the best reason I have most often found for using it.

I think it depends on what type of Arduino you are using for the programmer. A normal UNO R3 would need it. The UNO R4 may be able to do without sinc it doesn't reset on serial connection.

1 Like

I used an Arduino_as_ISP on Nano board for years, wrote a different targets, including a Attiny85 too.
I never connect a capacitor.

Would these capacitors be OK?

1 Like

Yes, for the decoupling capacitor. It will be marked 104 (100nF).

1 Like