Go Down

Topic: Attiny85 Invalid device signature... (Read 2252 times) previous topic - next topic

rptw

I've tried google to help solve my problems but as I am completely new to arduino I've tried some stuff and nothing seems to work.  I'm trying to program an Attiny85 using an UNO.
I've followd this guide to the T: http://hlt.media.mit.edu/?p=1695
Once I try to upload a sketch to the Attiny85 I get the invalid signature error
Code: [Select]
avrdude: Device signature = 0xffffff
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

My wiring (ignore the other part of the breadboard): http://i9.photobucket.com/albums/a84/rptw/IMG_20130125_041529_zpsf24b0b84.jpg

I have since tried to the 2 different ArduinoISP from https://github.com/adafruit/ArduinoISP and https://github.com/wbphelps/ArduinoISP

Please let me know if more information is required, thanks.

Erni

#1
Jan 25, 2013, 10:48 am Last Edit: Jan 25, 2013, 10:54 am by Erni Reason: 1
As far as I can see you are you connecting pin 9 on Arduino to PB3 on attiny85, why is that.

Which version of the Arduino IDE are you using

You could try this core
http://code.google.com/p/arduino-tiny/

using this ISP
http://arduino.cc/forum/index.php/topic,108797.msg824488.html#msg824488  
Reply #39


http://www.ernstc.dk/arduino/attiny85.html

Shpaget

In my recent endeavours with ATtiny45  I experienced that error when the capacitor was not connected.
I also noticed that it did not always achieve proper contact when put in the connectors on the Uno. so I moved it to the breadboard.

rptw


As far as I can see you are you connecting pin 9 on Arduino to PB3 on attiny85, why is that.
Through google, I had come to the conclusion that I have a fuse problem so I was trying to use the ISP that provides a clock on pin9 of the arduino to fix it.  I have since removed the connection in all my attempts with your suggestions.

Which version of the Arduino IDE are you using
1.0.3

using this ISP
http://arduino.cc/forum/index.php/topic,108797.msg824488.html#msg824488  
Reply #39
I had tried that ISP previously as well with no luck.

You could try this core
http://code.google.com/p/arduino-tiny/
http://www.ernstc.dk/arduino/attiny85.html
I followed this guide just not and still no luck.  I even tried to burn the 8Mhz bootloader and I get the exact same error.


In my recent endeavours with ATtiny45  I experienced that error when the capacitor was not connected.
I also noticed that it did not always achieve proper contact when put in the connectors on the Uno. so I moved it to the breadboard.

When the capacitor was not plugged in properly or completely absent I would get the getsync error instead.

Erni

What you could try:

Test if it is a connection problem with your breadboard: move your attiny to another spot on the breadboard or another breadboard.

Output the verbose output and post it here, and hope one of the experts can tell what is wrong

I had a similar error message a little while ago and, with the help of this forum, managed to solve the problem.  Have a look at this thread and see if that gives you any ideas:
http://arduino.cc/forum/index.php/topic,140550.msg1056824.html#msg1056824

rptw

I've tried many of the bootloader suggestions but nothing seems to work.  I don't have access to a crystal so I haven't done it that way, only the way through ArduinoISP on pin 9 that I listed in the OP.  Thanks for trying guys!

strykeroz

I presume you have just the one ATTiny85 so can't swap in a 2nd to see if the problem is common to both.

Nick Gammon has a sketch for detecting the signatures of all manner of Atmel processors, available for download here.  It needs the same connections as the ISP (explained in full on this page using an ATMega).

Does it find your ATTiny?

Geoff
"There is no problem so bad you can't make it worse"
- retired astronaut Chris Hadfield

rptw

Unfortunately I get a similar result as before with the following from the serial monitor
Code: [Select]
Atmega chip detector.
Entered programming mode OK.
Signature = FF FF FF
Unrecogized signature.
LFuse = 62
HFuse = DF
EFuse = FF
Lock byte = FF
Clock calibration = FF

First 256 bytes of program memory:

0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

fungus

Looks to me like a wiring problem...

Check all connections/wires for continuity. Move it to a different place on the breadboard, etc.
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

rptw

I've already changed breadboards and wires completely, unfortunately I have no way to test continuity though :(

Chagrin

Do you have any status LEDs on pins 9, 8, 7? IMHO the first step is to actually ensure you have ISP running.

rptw

I don't have any LEDs to use to try.  I uploaded the Blink example and it worked, would there be any reason ISP wouldn't?

Chagrin

The question is whether or not you're resetting your Uno and unloading ArduinoISP when you're trying to program the ATTiny. The capacitor you placed between reset and GND (you did that part, right?) should prevent that reset, but y'know ... it's a good idea to be certain.

rptw

Appreciate all helps you guys tried to provide.  Unfortunately my time has run out and I don't have the resources to continue to try to fix this.  It was fun while it lasted, maybe I will revisit this in the future.  Thanks again!

Go Up