Unable to program Ice Tube with USBtinyISP

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ryanc
 
Posts: 7
Joined: Thu Nov 27, 2008 4:50 am

Unable to program Ice Tube with USBtinyISP

Post by ryanc »

$ 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?

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

Re: Unable to program Ice Tube with USBtinyISP

Post by chankster »

Remove the tube?

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

Re: Unable to program Ice Tube with USBtinyISP

Post by ryanc »

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

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

Re: Unable to program Ice Tube with USBtinyISP

Post by kero905 »

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.

User avatar
jpkelly
 
Posts: 47
Joined: Sun Sep 20, 2009 4:09 am

Re: Unable to program Ice Tube with USBtinyISP

Post by jpkelly »

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

avrdude -c usbtiny -p m8
it returned the signature for an ATMEGA168 (0x1e9406). Then entering

Code: Select all

avrdude -c usbtiny -p m168
the ATMEGA168 was initialized without any errors.

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

Re: Unable to program Ice Tube with USBtinyISP

Post by adafruit »

its a '168 so that is correct

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

Return to “Clock Kits (discontinued)”