$ 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?
Unable to program Ice Tube with USBtinyISP
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- chankster
- Posts: 121
- Joined: Mon Jul 06, 2009 12:59 am
Re: Unable to program Ice Tube with USBtinyISP
Remove the tube?
- ryanc
- Posts: 7
- Joined: Thu Nov 27, 2008 4:50 am
Re: Unable to program Ice Tube with USBtinyISP
I tried without the tube first, and I tried both powered by the external power and powered by the USBtinyISP
- kero905
- Posts: 13
- Joined: Sun Dec 06, 2009 12:58 pm
Re: Unable to program Ice Tube with USBtinyISP
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.
"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.
- jpkelly
- Posts: 47
- Joined: Sun Sep 20, 2009 4:09 am
Re: Unable to program Ice Tube with USBtinyISP
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: it returned the signature for an ATMEGA168 (0x1e9406). Then entering the ATMEGA168 was initialized without any errors.
For some reason when I tried the flag for an ATMEGA8:
Code: Select all
avrdude -c usbtiny -p m8
Code: Select all
avrdude -c usbtiny -p m168
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Unable to program Ice Tube with USBtinyISP
its a '168 so that is correct
Please be positive and constructive with your questions and comments.