0

USBtinyISP errors writing ATtiny84 EEPROM with AVRDUDE
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USBtinyISP errors writing ATtiny84 EEPROM with AVRDUDE

by mjsadaway on Tue Apr 10, 2018 9:53 pm

We've programmed hundreds of ATtiny84s using several USBtinyISPs and the ZIF socket setup shown at https://learn.adafruit.com/mass-avr-isp-programmer.

As part of this process, we use AVRDUDE to initialize the first byte of EEPROM to 255.

Now, after about 3 years (!), we are seeing the errors shown below.

We have reinstalled AVRDUDE (as part of the Arduino IDE downloaded today) and the USPtinyISP driver (from usbtiny_signed_8.zip downloaded today).

We have tried this on two different Windows 10 computers with identical results.

Any assistance will be greatly appreciated.

Thanks in advance.

Mike

C:\Users\Administrator\Desktop>"C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avrdude" -C"C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf" -pattiny84 -cusbtiny -Ueeprom:w:0xff:m -Uefuse:w:0xff:m -Uhfuse:w:0xdf:m -Ulfuse:w:0xe2:m -Uflash:w:"C:\Users\Administrator\Desktop\lumistar\V2.7\LS3000_NOISE_FILTER_TEST_04_Dec_16\LS3000_NOISE_FILTER_TEST_04_Dec_16.ino.tiny14.hex":i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e930c (probably t84)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "0xff"
avrdude: writing eeprom (1 bytes):

Writing | | 0% 0.00s
avrdude: error: usbtiny_send: (expected 128, got -116)
Writing | ################################################## | 100% 1.70s

avrdude: error: usbtiny_receive: (expected 4, got -5)
avrdude: 18 retries during SPI command
avrdude: 1 bytes of eeprom written
avrdude: verifying eeprom memory against 0xff:
avrdude: load data eeprom data from input file 0xff:
avrdude: input file 0xff contains 1 bytes
avrdude: reading on-chip eeprom data:

Reading | ################################################## | 100% 0.12s

avrdude: verifying ...
avrdude: 1 bytes of eeprom verified

mjsadaway
 
Posts: 9
Joined: Thu Jun 13, 2013 2:45 am

Re: USBtinyISP errors writing ATtiny84 EEPROM with AVRDUDE

by mjsadaway on Wed Apr 11, 2018 1:00 pm

Also please note that we can successfully program fuses and flash. Only EEPROM is a problem.

mjsadaway
 
Posts: 9
Joined: Thu Jun 13, 2013 2:45 am

Please be positive and constructive with your questions and comments.