SOLVED: USBtinyISP random Device signature

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
User avatar
vista_narvas
 
Posts: 10
Joined: Wed Jul 22, 2015 12:49 pm

SOLVED: USBtinyISP random Device signature

Post by vista_narvas »

hi i recently got a USBtinyISP kit (from a distributor)
after i assembled it and try to test i got some errors from avrdude
so when i tried to force it (like all people do when you get a bug) i noticed that the Device signature is always different
i even got a random Device signature when i dint connect it
the green led is always on and the red led flashes when i send it commands

this is my first time assembling a kit like this
so it is possible i could have made some mistakes (photos in the attachments)
i did follow the tutorial on https://learn.adafruit.com/usbtinyisp/solder-it
and i to think i have all the polarized parts correct

i am using Arch Linux (Kernel: x86_64 Linux 4.0.4-2-ARCH)
Last edited by vista_narvas on Fri Jul 24, 2015 2:14 pm, edited 1 time in total.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: USBtinyISP random Device signature

Post by adafruit_support_rick »

The real problem is that you're getting initialization failed, rc=-1. That means that the USBtinyISP is working, but it isn't talking to the target system. What is the target?
Is it powered? Does it have a system clock?

User avatar
vista_narvas
 
Posts: 10
Joined: Wed Jul 22, 2015 12:49 pm

Re: USBtinyISP random Device signature

Post by vista_narvas »

adafruit_support_rick wrote:The real problem is that you're getting initialization failed, rc=-1. That means that the USBtinyISP is working, but it isn't talking to the target system. What is the target?
Is it powered? Does it have a system clock?
it sounds strange that it would return a Device signature when nothing is connecting
im trying to program a attiny85
i power it using the USBtinyISP
and i wire it up like this https://www.flickr.com/photos/heatxsink/7630346556/

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: USBtinyISP random Device signature

Post by adafruit_support_rick »

It doesn't return a device signature. avrdude is just printing out junk. Can you post a picture of your actual setup?

User avatar
vista_narvas
 
Posts: 10
Joined: Wed Jul 22, 2015 12:49 pm

Re: USBtinyISP random Device signature

Post by vista_narvas »

a bit hackish but i checked the lines multiple times
the leds are there so i can.see what it does
Last edited by vista_narvas on Fri Jul 24, 2015 2:15 pm, edited 1 time in total.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: USBtinyISP random Device signature

Post by adafruit_support_rick »

Hard to see, but it looks like you've got pin 1 of the ribbon cable going to either pin 4 or pin 8 of the chip.

Pin 1 of the ribbon is MISO, which should be going to Pin 6 of the chip.

Not sure at all about this, but check that you've got pin 1 of the ribbon identified correctly. There will be an arrow embossed on the connector, indicating pin 1.

User avatar
vista_narvas
 
Posts: 10
Joined: Wed Jul 22, 2015 12:49 pm

Re: USBtinyISP random Device signature

Post by vista_narvas »

so while i tried to rewire (for a better picture) i almost burn the t85 because i found a img that was mirrored >.>
but the good news is it works now and i found out that the wire i was using for miso was broken and dint connect (i feel stupid) <.<
thank you for your help i will mark this as solved

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: SOLVED: USBtinyISP random Device signature

Post by adafruit_support_rick »

Glad to hear you found the problem!

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

Return to “USBtinyISP”