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)
SOLVED: USBtinyISP random Device signature
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- vista_narvas
- Posts: 10
- Joined: Wed Jul 22, 2015 12:49 pm
SOLVED: USBtinyISP random Device signature
Last edited by vista_narvas on Fri Jul 24, 2015 2:14 pm, edited 1 time in total.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: USBtinyISP random Device signature
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?
Is it powered? Does it have a system clock?
- vista_narvas
- Posts: 10
- Joined: Wed Jul 22, 2015 12:49 pm
Re: USBtinyISP random Device signature
it sounds strange that it would return a Device signature when nothing is connectingadafruit_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?
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/
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: USBtinyISP random Device signature
It doesn't return a device signature. avrdude is just printing out junk. Can you post a picture of your actual setup?
- vista_narvas
- Posts: 10
- Joined: Wed Jul 22, 2015 12:49 pm
Re: USBtinyISP random Device signature
a bit hackish but i checked the lines multiple times
the leds are there so i can.see what it does
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.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: USBtinyISP random Device signature
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.
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.
- vista_narvas
- Posts: 10
- Joined: Wed Jul 22, 2015 12:49 pm
Re: USBtinyISP random Device signature
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
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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: SOLVED: USBtinyISP random Device signature
Glad to hear you found the problem!
Please be positive and constructive with your questions and comments.