Ok, I built the Usbtiny, and it reports back that it works, even a green light. However I am having problems getting it to program or erase a 90S8515.
I am running OSX 10.4.11, and have installed OSX-AVR, and copied over the AVRdude conf file and binary as described on the ladyada page. Anything else?
I have the 6pin cable from the usbtiny hooked up to the sprog3 header on the board.
What else should I be doing? Is there a good how-to online somewhere for using usbtiny and avrdude? I am all for RTFM, and I have had little luck in my searches. I think I am close, I just need a little push from some helpful person.
Below is the output I get.
Thanks for all your help and insight,
Adam
adam-foxs-computer:~ foxah$ avrdude -c usbtiny -p at90s8535 -v -v
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 : AT90S8535
Chip Erase delay : 20000 us
PAGEL : P00
BS2 : P00
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 12 128 0 no 512 0 0 9000 20000 0x00 0xff
flash 4 12 128 0 no 8192 0 0 9000 20000 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
fuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Programmer Type : USBTINY
Description : USBtiny simple USB programmer
avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [ff ff ff ff]
CMD: [ac 53 00 00] [ff ff ff ff]
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Help with STK500
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 8
- Joined: Sat Dec 15, 2007 6:04 pm
Sorry, wrong output posted earlier
Sorry, I posted the wrong output earlier. Below is the output for the 8515 I have in the socket right now.
-Adam
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 : AT90S8515
Chip Erase delay : 20000 us
PAGEL : P00
BS2 : P00
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 12 128 0 no 512 0 0 4000 9000 0x80 0x7f
flash 4 12 128 0 no 8192 0 0 4000 9000 0x7f 0x7f
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
fuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Programmer Type : USBTINY
Description : USBtiny simple USB programmer
avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [ff ff ff ff]
CMD: [ac 53 00 00] [ff ff ff ff]
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
-Adam
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 : AT90S8515
Chip Erase delay : 20000 us
PAGEL : P00
BS2 : P00
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 12 128 0 no 512 0 0 4000 9000 0x80 0x7f
flash 4 12 128 0 no 8192 0 0 4000 9000 0x7f 0x7f
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
fuse 0 0 0 0 no 1 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Programmer Type : USBTINY
Description : USBtiny simple USB programmer
avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [ff ff ff ff]
CMD: [ac 53 00 00] [ff ff ff ff]
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
-
- Posts: 8
- Joined: Sat Dec 15, 2007 6:04 pm
Bummer, I moved on and used my butterfly instead. It works like a charm. Thanks for your help. I have been absent from real embedded development for 7 years, and decided to get back into it. I will just have to buy some new parts, as from what I have seen, none of my avr's are current anymore.ladyada wrote:its not clear whether at90's are supported & since these chips have been discontinued its actually rather hard for me to debug the problem.
-Adam
-
- Posts: 37
- Joined: Sat Dec 15, 2007 2:35 am
Please be positive and constructive with your questions and comments.