Using Pololu V2 usb programmer, Arduino IDE 1.6.8.
No problem programming ATtiny13 and ATtiny85. Same code. Same Make file (not changing the MCU callout). Though I’m using Arduino IDE with “Upload Using Programmer”
Problem programming ATtiny84. I did change MCU callout to t84 - no difference.
Tried the recommended solutions but, no luck (sure, I could have missed something…)
My code (a simple blink for test): Not sure if DDRA |= 0b00100000; for MISO on the tiny84 is needed but, with or without, it doesn’t work.
Below are the last several lines from verbose output:
Thanks for your help!
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/bruce/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodem00152642
Using Programmer : stk500
AVR Part : ATtiny84
Chip Erase delay : 4500 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 6 4 0 no 512 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 8192 64 128 4500 4500 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 : STK500V2
Description : Atmel STK500
Programmer Model: STK500
Hardware Version: 15
Firmware Version Master : 2.10
Topcard : Unknown
Vtarget : 4.8 V
SCK period : 8.7 us
Varef : 0.0 V
Oscillator : Off
**avrdude: stk500v2_command(): command failed**
**avrdude: initialization failed, rc=-1**
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Hello.
I’m sorry you are having trouble with the programmer.
Can you post the full output that the Arduino IDE generates when trying to load your code so that I can see the exact AVRDUDE command that was used?
Also, after the error happens, can you run the Pololu USB AVR Programmer v2 Configuration Utility? It might show more detailed information about that error, so please take a screenshot of it and post it here. You can find the programmer’s software in the “Getting Started” section of the Pololu USB AVR Programmer v2 User’s Guide.
–David
Thank You for responding.
Attached output and screenshot of config utility.
I did try changing ISP freq (to several values along with Max ISP freq) - no difference.
I also changed the Attiny hardware files… no difference.
I am able to program the Tiny84 with my homemade avrisp programmer - just not with the pololu.
The output msg:
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/bruce/Programming/Arduino/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/bruce/Programming/Arduino/libraries" -fqbn=ATTinyCore-master:avr:attinyx4:LTO=disable,chip=84,clock=8internal,bod=disable,pinmapping=old -ide-version=10608 -build-path "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "/Users/bruce/Programming/Arduino/ATtiny84A_Test/ATtiny84A_Test.ino"
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/bruce/Programming/Arduino/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/bruce/Programming/Arduino/libraries" -fqbn=ATTinyCore-master:avr:attinyx4:LTO=disable,chip=84,clock=8internal,bod=disable,pinmapping=old -ide-version=10608 -build-path "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "/Users/bruce/Programming/Arduino/ATtiny84A_Test/ATtiny84A_Test.ino"
Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB
Board attiny13:avr:attiny13e doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13E
Board attiny13:avr:attiny13c doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13C
Board attiny13:avr:attiny13d doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13D
Board attiny13:avr:attiny13f doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13F
Board attiny13:avr:attiny13a doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY13A
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=10608 -DARDUINO_AVR_ATTINYX4 -DARDUINO_ARCH_AVR "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/cores/tiny" "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/variants/tinyX4" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/sketch/ATtiny84A_Test.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=10608 -DARDUINO_AVR_ATTINYX4 -DARDUINO_ARCH_AVR "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/cores/tiny" "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/variants/tinyX4" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/sketch/ATtiny84A_Test.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=10608 -DARDUINO_AVR_ATTINYX4 -DARDUINO_ARCH_AVR "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/cores/tiny" "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/variants/tinyX4" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/sketch/ATtiny84A_Test.ino.cpp" -o "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=attiny84 -DF_CPU=8000000L -DARDUINO=10608 -DARDUINO_AVR_ATTINYX4 -DARDUINO_ARCH_AVR "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/cores/tiny" "-I/Users/bruce/Programming/Arduino/hardware/ATTinyCore-master/avr/variants/tinyX4" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/sketch/ATtiny84A_Test.ino.cpp" -o "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/sketch/ATtiny84A_Test.ino.cpp.o"
/Users/bruce/Programming/Arduino/ATtiny84A_Test/ATtiny84A_Test.ino:4:0: warning: "F_CPU" redefined [enabled by default]
#define F_CPU 8000000 // AVR internal frequency in Hz, used by util/delay.h
^
<command-line>:0:0: note: this is the location of the previous definition
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/WInterrupts.c.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring.c.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_analog.c.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_digital.c.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_pulse.c.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_shift.c.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/HardwareSerial.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/Print.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/Stream.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/TinySoftwareSerial.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/Tone.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/WMath.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/WString.cpp.o
Using previously compiled file: /var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/main.cpp.o
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/WInterrupts.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_analog.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_digital.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_pulse.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/wiring_shift.c.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/HardwareSerial.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/Print.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/Stream.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/TinySoftwareSerial.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/Tone.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/WMath.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/WString.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-ar" rcs "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/main.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-gcc" -Os -Wl,--gc-sections -mmcu=attiny84 -o "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/ATtiny84A_Test.ino.elf" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/sketch/ATtiny84A_Test.ino.cpp.o" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/core/core.a" "-L/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp" -lm
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/ATtiny84A_Test.ino.elf" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/ATtiny84A_Test.ino.eep"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/ATtiny84A_Test.ino.elf" "/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/ATtiny84A_Test.ino.hex"
Sketch uses 118 bytes (1%) of program storage space. Maximum is 8,192 bytes.
Global variables use 2 bytes (0%) of dynamic memory, leaving 510 bytes for local variables. Maximum is 512 bytes.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -pattiny84 -cstk500 -P/dev/cu.usbmodem00152642 -Uflash:w:/var/folders/v4/44961pg90m72wv6p5q0tyy1r0000gn/T/buildacb26b90c0c602dccff8d3e216b68f1b.tmp/ATtiny84A_Test.ino.hex:i
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/bruce/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodem00152642
Using Programmer : stk500
AVR Part : ATtiny84
Chip Erase delay : 4500 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 6 4 0 no 512 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 8192 64 128 4500 4500 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 : STK500V2
Description : Atmel STK500
Programmer Model: STK500
Hardware Version: 15
Firmware Version Master : 2.10
Topcard : Unknown
Vtarget : 4.9 V
SCK period : 8.7 us
Varef : 0.0 V
Oscillator : Off
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
The “Initial SPI command failed” error that you are getting is often caused by an incorrect connection between the AVR and the programmer. If possible, please simplify your setup by disconnecting any components that are not needed for programming. If the problem is still happening after simplifying the setup, please post some pictures so that I can see how everything is connected to the ATtiny84.
–David
Thank you.
Only thing attached is ZIFF. The ZIFF is wired for tiny13, tiny 85 and tiny84.
Tiny13 and 85 program (no problems).
Tiny84 is wired to the same pins as 13&85 (meaning SCK MOSI MISO with different pin numbers but get their life from same pins as for 13/85).
I traced out the pins - all are connected properly (and wiring is thesame as on my homemade programmer).
Attached photo shows the Pololu mounted with BreadBoard/ZIFF…
Not shown are cap’s I added to see if it helped (they didn’t so, I removed them).
** SOLVED ***
It was a missing connection back to the Reset pin.All is Good Now.
Thanks again
I am glad you were able to solve your problem, and thank you for letting us know.
–David