I’ve been running into some trouble when trying to program my ATtiny85-20SU. I am using a MEGA 2560 and have read numerous forum posts on proper procedure.
I have thus far downloaded the zip files from damellis, reinstalled both old and new versions of arduino, on two separate computers. Currently running (1.6.12)
Built a second breakout board with larger trace width for the tiny85 leads.
Swapped all cables for new ones, and even went as far as buying a new UNO to try uploading on there. I receive countless error messages, but the one that reoccurs most often is:
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override this check.
I’ve double checked connections I’ve wired the board to the UNO as suggested on highlowtech link: High-Low Tech – Arduino board as ATtiny programmer and to the corresponding MEGA MOSI/MISO/SCK connections.
I have checked the board/proccessor/clock down to the T every time I tried to upload the sketch. Initially programming the Arduino as an ISP before each run of the Blink sketch.
Any time I try to run the sketch I receive the message above. In one instance the UNO actually did program the tiny85, I cant for the life of me figure out what I had done differently, but the clock was slow. So I tried to burn the bootloader to the internal 8Mhz which resulted in this error message:
avrdude: ser_open(): can’t open device “||.|COM4”: The system cannot find the file specified.
Since then I have had zero luck in programming this board.
The Ports register as COM4 for the UNO, and COM3 for the MEGA.
In addition earlier I was receiving an error message that said:
"Could not find boards.txt in C:users<my name>\Documents\Arduino\hardware\attiny\variants.
WARNING: Error loading hardware folder attiny
No valid hardware definitions found in folder attiny
I’ve made my own hardware file, I’ve downloaded the hardware configuration archive: breadboard-1-6-x.zip form https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
This is all fairly new to me, my apologized for the lengthy post but I just can’t seem to figure out what wrong and this is suppose to be the easier part of programming. I’m unsure where my error lies.
Help me Arduino Forum Community you’re my only hope!
Attached is a picture of the 85 with larger trace width connected to the MEGA 2560. Above is the original board not connected but thought it’d be worth including.
Just to go over connections
ATtiny85 MEGA 2560 UNO
pin 1 (RESET): 53 (black) 10 RESET
pin 4 (GND): GND (black) GND GND
pin 5 (PWM0): 51 (white) 11 MOSI
pin 6 (PWM1): 50 (yellow) 12 MISO
pin 7 (PWM2): 52 (green) 13 SCK
pin 8 (+V): 5V (red)
10uf polarized capacitor from RESET to GND
When using the MEGA I’ve set MOSI/MISO/SCK to their corresponding pins in the ArduinoISP sketch,
and switched them back when using UNO. I didn’t read that anywhere but thought it might help. When trying to upload the sketch I selected the upload using programmer from the sketch menu, because it seems to have had luck with others.
Again my apologize for the length I just want to go over all that I have attempted in order to trouble shoot this problem quickly.
Lastly, I found a link referring to 3rd party hardware specifications: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification
But truthfully I am unsure how to apply this information and am unsure that is even necessary.
Thank you for your time,