Pages: [1] 2   Go Down
Author Topic: Attiny85 Invalid device signature...  (Read 1538 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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.
Logged

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1029
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: January 25, 2013, 04:54:30 am by Erni » Logged

Croatia
Offline Offline
Sr. Member
****
Karma: 11
Posts: 432
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

I had tried that ISP previously as well with no luck.

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.
Logged

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1029
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Cape Town, ZA
Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Brisbane, Australia
Offline Offline
Edison Member
*
Karma: 29
Posts: 1071
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unfortunately I get a similar result as before with the following from the serial monitor
Code:
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
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4545
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks to me like a wiring problem...

Check all connections/wires for continuity. Move it to a different place on the breadboard, etc.
Logged

No, I don't answer questions sent in private messages...

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've already changed breadboards and wires completely, unfortunately I have no way to test continuity though smiley-sad
Logged

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 29
Posts: 2239
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 29
Posts: 2239
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Pages: [1] 2   Go Up
Jump to: