I've been successfully programming some ATTiny85-20PU with a self built programmer and Arduino Nano. These are the DIP package version.
I recently changed my design on my target board to use a surface mount equivalent, the ATTiny85v-10SH and now I'm getting invalid signature and programming fails.
Did I miss something? Is the surface mount version somehow different?
I'm using the internal oscillator/ 1Mhz.
My programmer has a ZIF socket which I dropped the DIP version into. I took a DIP socket and soldered a mini molex connector that goes to a female molex programming header on my target board. I've checked continuity pin for pin from the socket to the surface mount chip, its fine.
Here's the output:
Arduino: 1.8.7 (Windows 7), Board: "ATtiny25/45/85, ATtiny85, Internal 1 MHz"
In file included from Z:\DOCUMENTS\_Electronics\_Microcontrollers\AtTiny85\_MY_attiny85_PIR_pgm\ATtiny85_ESP8266_PIR_Sensor\ATtiny85_ESP8266_PIR_Sensor.ino:33:0:
C:\Users\admin\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:22:121: note: #pragma message: NOTICE: *** EnableInterrupt library version 0.9.7. This is not a problem. Keep calm, and carry on. ***
#pragma message("NOTICE: *** EnableInterrupt library version 0.9.7. This is not a problem. Keep calm, and carry on. ***")
^
Sketch uses 1800 bytes (21%) of program storage space. Maximum is 8192 bytes.
Global variables use 44 bytes (8%) of dynamic memory, leaving 468 bytes for local variables. Maximum is 512 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -pattiny85 -carduino -PCOM12 -b19200 -Uflash:w:C:\Users\admin\AppData\Local\Temp\arduino_build_347574/ATtiny85_ESP8266_PIR_Sensor.ino.hex:i
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 "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM12
Using Programmer : arduino
Overriding Baud Rate : 19200
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
flash 65 6 32 0 yes 8192 64 128 30000 30000 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x000000 (retrying)
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x000000 (retrying)
An error occurred while uploading the sketch
Reading | ################################################## | 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 done. Thank you.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.