Can't flash ATTiny85 with Arduino as ISP anymore

Hi

I'm reaching you with a big question

I used to flash my tinys with Arduino as ISP around 12 months ago, it worked flawlessly.

Now, I'm trying the same setup (as far as I remember) and am totally unable to get these working.

The error is :

avrdude: Device signature = 0x000000 (retrying)

Here is my wiring

I did upload Arduino ISP on my 2560.
I use https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json as board manager, Arduino as ISP programmer and Upload using programmer

Any idea on what I'm doing wrong ?

Thanks

EDIT : Dont mock me about the burn on the breadboard :smiley: I played with AC a bit too much.

You should have a 0.1 uF capacitor between the VCC and GND pins.

Still no sign of life

I'm starting to belive that all my 30 µc went bad in one year ? Would it be possible ?

JeanneD4RK:
I’m starting to belive that all my 30 µc went bad in one year ? Would it be possible ?

It is unlikely. I see that you’re not using a clock source for the ATTiny- when you last programmed them were you using an external clock?
Are you using a capacitor on the RESET of the Mega? The below image comes from this page and shows the programming connections when using a Mega, as well as the capacitor on the reset line.
MegaToUNO.jpg

Hi:
Same issue here in Archlinux and 6 new attiny.

Arduino: 1.8.8 (Linux), Board: "ATtiny25/45/85, ATtiny85, Internal 8 MHz"

/home/ergo/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/bin/avrdude -C/home/ergo/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/etc/avrdude.conf -v -v -v -v -pattiny85 -carduino -P/dev/ttyACM0 -b19200 -e -Uefuse:w:0xff:m -Uhfuse:w:0xdf:m -Ulfuse:w:0xe2:m

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/ergo/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/etc/avrdude.conf"
User configuration file is "/home/ergo/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : arduino
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 : Arduino
Description : Arduino
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: u [75] [20]
avrdude: Recv: . [14] . [00] . [00] . [00] . [10]
################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Reading | avrdude: Send: u [75] [20]
avrdude: Recv: . [14] . [00] . [00] . [00] . [10]
################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Reading | avrdude: Send: u [75] [20]
avrdude: Recv: . [14] . [00] . [00] . [00] . [10]
################################################## | 100% 0.01s

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.


Please any advice? Some forums suggested to use external oscilator, I tried that too without success.

A device signature of 0x000000 is often indicative of a wiring error. Can you post a schematic showing how you have connected the ATTiny to your programmer? What are you using as a programmer?

Sig of 000000 indicates either wiring problem, or the chip is set to use external clock (maybe you selected external crystal clock source and did burn bootloader before?) and none is present.

You do need a 0.1uF cap between Vcc and Gnd of the attiny, with the wires kept as short as possible (I normally put it over the top of the chip for the t85 in breadboard)

Hi: sorry for the delay.

I am using an Arduino uno as a programmer (ArduinoISP...) with the connections as in the manual:

attiny85 arduino
===== =====
1 10
4 GND
5 11
6 12
7 13
8 VCC

Plus a 10uF cap between the arduino's reset and GND.

I also tried:

Using a 16Mhz cristal with capacitors to ground between pins 2 and 3 (changing the clock to external of course).
Different attiny85 chips,
The capacitor of 0.1 uF between VCC and GND.
Different arduino uno board.
I programmed an Atmega328p in the same breadboard and with the same arduino board and it worked.
A windows 10 machine.
Can anybody please do this with the latest arduino ide release just to confirm it is not a software issue...? because the library for attiny on github has not been updated in 4 years!

Same problem here with IDE 1.8.8 on Win10 64 bit. New ATTiny IC's. Tried different ATTiny's and 2 Uno's and checked the cabling.

I think there should be a software problem (in the IDE or ardude or in the ArduinoISP) I just found this repo:

It looks to be more active these days, but i don't think it is to use with arduino uno as isp. I need to read more about it to see how I can make it work to use my attiny somehow.

Can we make a bug report or anything to call the developer's attention to solve this? Otherwise all the attiny guides around are useless and it is very disappointing :(.

ATTinyCore is excellent and will work fine with Arduino as ISP. I definitely recommend it over damellis/attiny. However, I can't think of any reason why attiny would have a problem. I used it quite a bit some years ago but haven't since I discovered ATTinyCore. I'll try to give it a test as soon as I get some spare time.

No problem using "Arduino as ISP" to burn fuses and program ATTiny85 using
GitHub - SpenceKonde/ATTinyCore: Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8</tit..

Linux Mint 18.3

Arduino IDE 1.8.8

I can also vouch for TinyCore and an Arduino as ISP.

ergus:
I am using an Arduino uno as a programmer (ArduinoISP...) (snip)

It is somewhat confusing, but when using an Arduino as an ISP programmer, you want to use the 'Arduino as ISP' option rather than "ArduinoISP' (even though you load the 'ArduinoISP' sketch onto the programmer...).
This is what the 'ArduinoISP' programmer option is for.

ergus:
attiny85 arduino
===== =====
1 10
4 GND
5 11
6 12
7 13
8 VCC

Plus a 10uF cap between the arduino's reset and GND.

Have you tried swapping the MOSI and MISO lines over? The USI hardware that the ATTiny has is a bit different to the standard SPI hardware on the full-sized AVRs and it handles being the slave differently.