Invalid device signature error while flashing ATTiny 85 from Uno

I have trying to fix this problem for hours, tried 3 different arduinos, two different bread boards, and three different ATTiny85 20SUs, and several different jumper cables, and the bootloader keeps failing to burn with an invalid device signature error. Kinda stumped right now. Error below, any help is appreciated.

Arduino: 1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), Board: "ATtiny25/45/85, ATtiny85, Internal 8 MHz"

C:\Users\Ben\Downloads\arduino-nightly\hardware\tools\avr/bin/avrdude -CC:\Users\Ben\Downloads\arduino-nightly\hardware\tools\avr/etc/avrdude.conf -v -v -v -v -pattiny85 -cstk500v1 -PCOM3 -b19200 -e -Uefuse:w:0xff:m -Uhfuse:w:0xdf:m -Ulfuse:w:0xe2:m 



avrdude: Version 6.3-20190619

         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         Copyright (c) 2007-2014 Joerg Wunsch



         System wide configuration file is "C:\Users\Ben\Downloads\arduino-nightly\hardware\tools\avr/etc/avrdude.conf"



         Using Port                    : COM3

         Using Programmer              : stk500v1

         Overriding Baud Rate          : 19200

avrdude: Send: 0 [30]   [20] 

avrdude: Send: 0 [30]   [20] 

avrdude: Send: 0 [30]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [10] 

         AVR Part                      : ATtiny85

         Chip Erase delay              : 400000 us

         PAGEL                         : P00

         BS2                           : P00

         RESET disposition             : possible i/o

         RETRY pulse                   : SCK

         serial program mode           : yes

         parallel program mode         : yes

         Timeout                       : 200

         StabDelay                     : 100

         CmdexeDelay                   : 25

         SyncLoops                     : 32

         ByteDelay                     : 0

         PollIndex                     : 3

         PollValue                     : 0x53

         Memory Detail                 :



                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           eeprom        65    12     4    0 no        512    4      0  4000  4500 0xff 0xff

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           flash         65     6    32    0 yes      8192   64    128 30000 30000 0xff 0xff

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

                                  Block Poll               Page                       Polled

           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00



         Programmer Type : STK500

         Description     : Atmel STK500 Version 1.x firmware

avrdude: Send: A [41] . [80]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [02] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [81]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [01] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [82]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [12] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [98]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

         Hardware Version: 2

         Firmware Version: 1.18

         Topcard         : Unknown

avrdude: Send: A [41] . [84]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [85]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [86]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [87]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [89]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

         Vtarget         : 0.0 V

         Varef           : 0.0 V

         Oscillator      : Off

         SCK period      : 0.1 us



avrdude: Send: A [41] . [81]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [01] 

avrdude: Recv: . [10] 

avrdude: Send: A [41] . [82]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [12] 

avrdude: Recv: . [10] 

avrdude: Send: B [42] . [14] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] @ [40] . [02] . [00] . [00] . [00]   [20] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [10] 

avrdude: PAGEL and BS2 signals not defined in the configuration file for part ATtiny85, using dummy values

avrdude: Send: E [45] . [05] . [04] . [d7] . [a0] . [01]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [10] 

avrdude: Send: P [50]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [10] 

avrdude: AVR device initialized and ready to accept instructions



Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

################################## | 100% 0.02s



avrdude: Device signature = 0x000000 (retrying)



Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

################################## | 100% 0.02s



avrdude: Device signature = 0x000000 (retrying)



Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [00] 

avrdude: Recv: . [10] 

################################## | 100% 0.02s



avrdude: Device signature = 0x000000

avrdude: Yikes!  Invalid device signature.

         Double check connections and try again, or use -F to override

         this check.



avrdude: Send: Q [51]   [20] 

avrdude: Recv: . [14] 

avrdude: Recv: . [10] 



avrdude done.  Thank you.



Error while burning bootloader.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I'm stumped as well! You want help, but provide NO information at all!

I can work out you are using windows! But can't work out why you are using a nightly version rather than a stable version of the IDE!

What programmer are you using? How is it connected to the chip? What is connected to the chip?

Post a photo of your wiring & breadboard setup, we MAY be able to see what is wrong!


Picture attached. Utilizing a genuine Arduino Uno /w Nightly build because I've tried it on stable versions and it didn't work either. Connected to the chip via jumper wires on a breadboard.

This means IDE isn't able to communicate with the chip. Either you got the wiring wrong, setting wrong in programming method (like not set to use Arduino as ISP), chip is backward, etc.

I can't tell from the picture clearly but it looks like you have 5v and GND backward. GND goes to pin 4 and 5v goes to pin 8.

The cap looks to be in 3.3vdc.

Capacitor anode is in ground and and cathode is in RESET.

Arduino is flashed to be used as ISP and is set to use Arduino as ISP, double checked pins, and pin 4 appears to be in GND and pin 8 appears to be in 5v.

I see no 10K pullup on the RESET (85) or any bypass capacitor on the 85. No need for the reset cap on the UNO.

First thing I see is pin 1 (RST) tied to GND on the UNO. Triple check your wiring and in particular take note of where pin 1 is on the Tiny. Also, that cap on the UNo doesn't make any sense. Its tied to 3.3V which youre not using and its the wrong way around.
Take a few minutes to learn to identify the pins on the components you're using; this seems to be the fundamental issue you're running into.

The wiring looks correct to me. I assume the -ve side of the cap is connected to GND (it is not quite clear from the picture).

The only thing I can think of is the 10K from pin 1 to 5V and possibly a .1uf across VCC (close to pin 8) and GND.

You can connect LEDs (remember inline resistor) to:
9: Heartbeat - shows the programmer is running
8: Error - Lights up if something goes wrong (use red if that makes sense)
7: Programming - In communication with the slave
to check if everything is working as expected.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.