Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Unable to program Ice Tube with USBtinyISP
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Unable to program Ice Tube with USBtinyISP

by ryanc on Tue Mar 09, 2010 12:27 am

$ sudo avrdude -c usbtiny -p m168 -F

avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA168 is 1E 94 06

avrdude: safemode: Fuses OK

avrdude done. Thank you.


Ice Tube clock seems to work fine, and the USBtinyISP is working on other chips. What can I try?

ryanc
 
Posts: 7
Joined: Thu Nov 27, 2008 4:50 am

Re: Unable to program Ice Tube with USBtinyISP

by chankster on Tue Mar 09, 2010 1:07 am

Remove the tube?
"This is not my sig", it said. - I looked at it suspiciously; Who's sig was it, then?

chankster
 
Posts: 121
Joined: Mon Jul 06, 2009 12:59 am

Re: Unable to program Ice Tube with USBtinyISP

by ryanc on Tue Mar 09, 2010 2:37 am

I tried without the tube first, and I tried both powered by the external power and powered by the USBtinyISP

ryanc
 
Posts: 7
Joined: Thu Nov 27, 2008 4:50 am

Re: Unable to program Ice Tube with USBtinyISP

by kero905 on Fri Mar 12, 2010 2:07 pm

I was having this problem too but I saw on the USBtiny soldering instructions, it said:
"If you're not using the USBtiny to talk to a SpokePOV kit, and if you are using a target that has some load on the SCK and MOSI pins, you may need to replace R4 and R7 with jumpers as the 1.5K resistors will have trouble driving the load!"

So I replaced the resistors with wires, and now it works with the tube removed.

kero905
 
Posts: 13
Joined: Sun Dec 06, 2009 12:58 pm

Re: Unable to program Ice Tube with USBtinyISP

by jpkelly on Mon May 24, 2010 8:50 pm

I was having the same problem. Putting the jumpers on R4,R7 on the USBtinyISP allowed me to see the ATMEGA168 but I was getting the wrong signature (0x000102).
For some reason when I tried the flag for an ATMEGA8:
Code: Select all | TOGGLE FULL SIZE
avrdude -c usbtiny -p m8
it returned the signature for an ATMEGA168 (0x1e9406). Then entering
Code: Select all | TOGGLE FULL SIZE
avrdude -c usbtiny -p m168
the ATMEGA168 was initialized without any errors.

jpkelly
 
Posts: 35
Joined: Sun Sep 20, 2009 4:09 am
Location: San Francisco

Re: Unable to program Ice Tube with USBtinyISP

by adafruit on Mon May 24, 2010 10:03 pm

its a '168 so that is correct

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

Please be positive and constructive with your questions and comments.