Programming Attiny85 with Arduino 'problem uploading to board'

Hi, I am relatively new to the Arduino community but have basic knowledge on the subject.

I am currently trying to follow this tutorial: How-To: Shrinkify Your Arduino Projects - YouTube on how to program an Attiny85 chip with an arduino.

I have followed the instructions in the video except I have used the folder from Google Code Archive - Long-term storage for Google Code Project Hosting. in my hardware folder instead of the folder in the video as I was getting error messages such as 'OUTPUT was not declared in this scope' etc.

I'm trying to upload the blink sketch. I have uploaded the ArduinoISP sketch to my Arduino. The settings when I'm trying to upload the blink sketch are: board - Attiny85 @ 8MHz (internal oscillator; BOD disabled) and programmer - Arduino as ISP.

The Attiny85 chip that I am using I bought from here: http://www.ebay.co.uk/itm/10X-ATMEL-Attiny85-20SU-8pin-soic-EIAJ/222551553916?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

The SOIC to DIP adaptor I used was bought from here: http://www.ebay.co.uk/itm/10-PCS-SOP8-SO8-SOIC8-TSSOP8-MSOP8-to-DIP8-Adapter-PCB-Conveter-Board-DIY-239A/192091830906?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

If anyone could help me solve this issue I would be extremely grateful. Thanks in Advance, Kian.

Please provide a link to the ArduinoISP code you're using as there are several versions of it available on the net that are old and do not support setting the fuses.

I highly recommend using this:

Thanks for the replies, I tried using SpenceKonde/ATTinyCore and when I used 'Attiny25/45/85' as the board and 'Arduino/Leo as ISP (ATTiny)' as the programmer I got this error message:

unknown MCU 'null' specified
Known MCU names:
avr2
at90s2313
at90s2323
at90s2333
at90s2343
etc....
Blink.cpp:1: error: MCU 'null' supported for assembler only
In file included from /private/var/folders/t0/r21n7hws0pn0wvpgvc01ykc00000gn/T/AppTranslocation/C5F6E978-2156-441C-B15C-D2FBEBE97BDE/d/ArduinoIDE.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/include/avr/pgmspace.h:82,
from /Users/Kian/Documents/Arduino/hardware/avr/cores/tiny/Arduino.h:8,
from Blink.ino:10:
/private/var/folders/t0/r21n7hws0pn0wvpgvc01ykc00000gn/T/AppTranslocation/C5F6E978-2156-441C-B15C-D2FBEBE97BDE/d/ArduinoIDE.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/include/avr/io.h:330:6: warning: #warning "device type not defined"
In file included from Blink.ino:10:
/Users/Kian/Documents/Arduino/hardware/avr/cores/tiny/Arduino.h:67:2: warning: #warning Clocks per microsecond < 1. To prevent divide by 0, it is rounded up to 1.

In response to which ArduinoISP sketch I am using I have Arduino 1.0.4 installed and am using the ArduinoISP example (the same as in the video).

Thanks for the responses and hope you can help :slight_smile:

My core is only compatible with 1.6.5 and later versions of the IDE (latest version, 1.8.3, is recommended).

1.0.4 is ancient - it may not even be compatible with the ancient version of the core you used - I think they was meant for 1.0.5 or 1.0.6.