Hello all!
I've already read through the forum and the FAQs on how to fix this problem. As of right now I am completely stuck and can't figure this out, and I've been working at it for 2 days now.
I soldered the device together as per lady ada's instructions - this went smoothly and no issues there. I installed the drivers as she listed. EWhen I plug in the device, the green light goes on and Windows does recognize the device - it lists it as a LibUSB-Win32 Device.
When I type this into avr dude:
avrdude -c usbtiny -p t45
I get:
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
Anyone have insight? Any help is appreciated because I am completely clueless at this point.
As for the target board I'm using, it's homemade for the ATtiny45.
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- kchester
- Posts: 15
- Joined: Mon Jun 23, 2008 10:29 am
-
- Posts: 1119
- Joined: Wed Jun 13, 2007 9:17 am
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
it sounds much like the library mismatch i warn about on the download page
http://ladyada.net/make/usbtinyisp/download.html
http://ladyada.net/make/usbtinyisp/download.html
- kchester
- Posts: 15
- Joined: Mon Jun 23, 2008 10:29 am
Well this morning, before I read all your posts, I moved the USBTiny over to my other PC running ubuntu. I set it up with AVRDude via apt-get install and ran it. Here's what I get now:
keithc@CityLabPC1:~$ avrdude -c usbtiny -p t45
avrdude: error: usbtiny_transmit: error sending control message: Operation not permitted
Since this a lab PC, I do not have full root access. Is that required, or does this message mean something else?
As for the Windows XP PC that I've been trying to run it on, I installed first WinAVR and the USBTiny 1.10 drivers. AvrDude came with WinAVR and according to the page should support USBTiny out of the box. Am I wrong about this?
keithc@CityLabPC1:~$ avrdude -c usbtiny -p t45
avrdude: error: usbtiny_transmit: error sending control message: Operation not permitted
Since this a lab PC, I do not have full root access. Is that required, or does this message mean something else?
As for the Windows XP PC that I've been trying to run it on, I installed first WinAVR and the USBTiny 1.10 drivers. AvrDude came with WinAVR and according to the page should support USBTiny out of the box. Am I wrong about this?
- kchester
- Posts: 15
- Joined: Mon Jun 23, 2008 10:29 am
Ok, so I got root access to this PC. Here is my attempts to use the USBTiny ISP with an ATtiny45.
~~
keithc@CityLabPC1:~$ sudo avrdude -c usbtiny -p t45
[sudo] password for keithc:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
keithc@CityLabPC1:~$ sudo avrdude -c usbtiny -p t45 -F
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATtiny45 is 1E 92 06
avrdude: safemode: Fuses OK
avrdude done. Thank you.
~~
What could be the issue?
~~
keithc@CityLabPC1:~$ sudo avrdude -c usbtiny -p t45
[sudo] password for keithc:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
keithc@CityLabPC1:~$ sudo avrdude -c usbtiny -p t45 -F
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATtiny45 is 1E 92 06
avrdude: safemode: Fuses OK
avrdude done. Thank you.
~~
What could be the issue?
-
- Posts: 196
- Joined: Tue Oct 30, 2007 7:27 am
- kchester
- Posts: 15
- Joined: Mon Jun 23, 2008 10:29 am
It was a power issue. Fixed!
~
keithc@CityLabPC1:~$ sudo avrdude -c usbtiny -p t45
[sudo] password for keithc:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9206
avrdude: safemode: Fuses OK
avrdude done. Thank you.
keithc@CityLabPC1:~$
~
Thanks everyone for help. Go linux for just working with the darned thing and no special drivers needed.
~
keithc@CityLabPC1:~$ sudo avrdude -c usbtiny -p t45
[sudo] password for keithc:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9206
avrdude: safemode: Fuses OK
avrdude done. Thank you.
keithc@CityLabPC1:~$
~
Thanks everyone for help. Go linux for just working with the darned thing and no special drivers needed.
- jorgemariozuleta
- Posts: 1
- Joined: Wed Jan 28, 2015 1:19 pm
Re: avrdude: Error: Could not find USBtiny device (0x1781/0x
With love: Have you tried to upload WHILE the red led is blinking? That was what I was doing wrong. Designers (!=engineers) will understand. Regards form #CostaRica
- chevron694
- Posts: 3
- Joined: Wed Feb 11, 2015 3:33 pm
Re: avrdude: Error: Could not find USBtiny device (0x1781/0x
Hello, I have been experiencing a bit of frustration
I've already read through the forum and the FAQs on how to fix this problem. As of right now I am completely stuck and can't figure this out, and I've been working at it for 2 weeks now.
I recently bought the Trinket-Powered NeoPixel Goggle Kit Pack. I first when through all the coding for it and it works just fine. I loaded the code to my Arduino Uno and it worked just fine on it. I soldered the device together as per lady ada's instructions in the PDF 100% great. I installed the drivers as she listed. When I plug in the device, the green light goes on and the red light only flashes when it first plugged in or when I push the reset button. The device manager show that it is working properly when I have the Trinket plugged in. Windows does recognize the device - it lists it as a LibUSB-Win32 Device. I have followed the enclosed instructions.
https://learn.adafruit.com/introducing- ... bootloader
https://learn.adafruit.com/introducing- ... rduino-ide
https://learn.adafruit.com/usbtinyisp/avrdude
When I type this into avr dude:
avrdude -c usbtiny -p m8 and avrdude -c usbtiny -p t2313
I get: avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
I have tried unplugging, it pushing the button, new USB cables. Alitte advisement but be a great help. for now Im just going to uninstall everything and reload it and try again.
I've already read through the forum and the FAQs on how to fix this problem. As of right now I am completely stuck and can't figure this out, and I've been working at it for 2 weeks now.
I recently bought the Trinket-Powered NeoPixel Goggle Kit Pack. I first when through all the coding for it and it works just fine. I loaded the code to my Arduino Uno and it worked just fine on it. I soldered the device together as per lady ada's instructions in the PDF 100% great. I installed the drivers as she listed. When I plug in the device, the green light goes on and the red light only flashes when it first plugged in or when I push the reset button. The device manager show that it is working properly when I have the Trinket plugged in. Windows does recognize the device - it lists it as a LibUSB-Win32 Device. I have followed the enclosed instructions.
https://learn.adafruit.com/introducing- ... bootloader
https://learn.adafruit.com/introducing- ... rduino-ide
https://learn.adafruit.com/usbtinyisp/avrdude
When I type this into avr dude:
avrdude -c usbtiny -p m8 and avrdude -c usbtiny -p t2313
I get: avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
I have tried unplugging, it pushing the button, new USB cables. Alitte advisement but be a great help. for now Im just going to uninstall everything and reload it and try again.
- chevron694
- Posts: 3
- Joined: Wed Feb 11, 2015 3:33 pm
Re: avrdude: Error: Could not find USBtiny device (0x1781/0x
And now when I try to upload something simple to my Uno like Blink it giving me this
Binary sketch size: 1,082 bytes (of a 32,256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x30
When I attempted to do avrdude again
Binary sketch size: 1,082 bytes (of a 32,256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x30
When I attempted to do avrdude again
- pwillard
- Posts: 1
- Joined: Fri Jan 30, 2015 1:47 pm
Re: avrdude: Error: Could not find USBtiny device (0x1781/0x
I agree, this is really frustrating. Hours wasted... no success.
Please be positive and constructive with your questions and comments.