attiny26 and Usbtiny

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
foxah
 
Posts: 8
Joined: Sat Dec 15, 2007 6:04 pm

attiny26 and Usbtiny

Post by foxah »

Does the usbtiny program the attiny26, or is the chip too old to be supported?

I am using avrdude, with OSX

Thanks,
-Adam

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

yes it does

foxah
 
Posts: 8
Joined: Sat Dec 15, 2007 6:04 pm

Any Ideas?

Post by foxah »

I cannot get the usbtiny to talk to my attiny26. Any ideas about common mistakes I might be making?

OSX, avrdude

Thanks,
Adam



foxs-computer:~ foxah$ avrdude -c usbtiny -p attiny26 -v -v -n

avrdude: Version 5.4, compiled on Oct 15 2007 at 00:27:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/Users/foxah/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : unknown
Using Programmer : usbtiny
AVR Part : ATTINY26
Chip Erase delay : 9000 us
PAGEL : PB3
BS2 : PB2
RESET disposition : dedicated
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 4 10 64 0 no 128 0 0 9000 9000 0xff 0xff
flash 33 6 16 0 yes 2048 32 64 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
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00

Programmer Type : USBTINY
Description : USBtiny simple USB programmer

avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 00 00]
CMD: [ac 53 00 00] [00 00 00 00]
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.


avrdude done. Thank you.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

http://www.ladyada.net/make/usbtinyisp/help.html

99% of the time, this means your programmer is fine and you have a wiring problem w.r.t the target chip

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”