I’m following the steps here to program an ATtiny85 chip using an Arduino UNO.
I have version 1.0 of the Arduino software, and I’m using the files from the damellis-attiny-6bff522.zip at https://github.com/damellis/attiny/zipball/Arduino1
My setup is attached and as far as I can tell the wiring is correct.
Before wiring it all up, I followed these steps from http://hlt.media.mit.edu/?p=1695
(maybe I did this in the wrong order?)
"Configuring the ATtiny to run at 8 MHz (for SoftwareSerial support)
By default, the ATtiny’s run at 1 MHz (the setting used by the unmodified “ATtiny45?, etc. board menu items). You need to do an extra step to configure the microcontroller to run at 8 MHz – necessary for use of the SoftwareSerial library. Once you have the microcontroller connected, select the appropriate item from the Boards menu (e.g. “ATtiny45 (8 MHz)”). Then, run the “Burn Bootloader” command from the Tools menu. This configures the fuse bits of the microcontroller so it runs at 8 MHz."
Then, from the instructions at http://hlt.media.mit.edu/?p=1706 I uploaded the ArduinoISP sketch to my Uno.
Then I wired everything as in attached picture. I am first trying to just upload the simple BLINK example to the ATtiny85 and running into errors on upload. The settings I’m using are:
Board: ATtiny85 (8 Mhz)
Programmer: Arduino as ISP
I know the “define PAGEL and BS2” are normal errors and I can just ignore those, but I’m getting other errors below that section:
Binary sketch size: 774 bytes (of a 8192 byte maximum) avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85 avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85 avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64 avrdude: stk500_cmd(): protocol error
There’s only one thing I did wrong I just realized as I was writing this post and re-reading all the steps, and I am not at home where I can re-test but I don’t think it would cause an error at this point - in the Blink sketch I replaced pin “13” with “3”, but one of the links above said to use “0” as the pin number. I don’t think this is causing the errors but just throwing that out there in case it is.
I am using a Windows 7 x64 system.
Hopefully someone out there can spot what I’m doing wrong :~
Thanks in advance.