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

Could not find USBtiny device (0x1781/0xc9f)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Sat Mar 28, 2020 8:59 am

Just bought a new USBtinyISP kit from digikey. Put it together and it's saying:

Code: Select all | TOGGLE FULL SIZE
rjw@localhost:~$ avrdude -c usbtiny -p m8
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

avrdude done.  Thank you.


journalctl (ubuntu 16.04) shows:
Code: Select all | TOGGLE FULL SIZE
Mar 28 08:49:10 localhost kernel: usb 3-2: new full-speed USB device number 30 using xhci_hcd
Mar 28 08:49:10 localhost kernel: usb 3-2: device descriptor read/64, error -71
Mar 28 08:49:10 localhost kernel: usb 3-2: device descriptor read/64, error -71
Mar 28 08:49:11 localhost kernel: usb 3-2: new full-speed USB device number 31 using xhci_hcd
Mar 28 08:49:11 localhost kernel: usb 3-2: device descriptor read/64, error -71
Mar 28 08:49:11 localhost kernel: usb 3-2: device descriptor read/64, error -71
Mar 28 08:49:11 localhost kernel: usb usb3-port2: attempt power cycle
Mar 28 08:49:12 localhost kernel: usb 3-2: new full-speed USB device number 32 using xhci_hcd
Mar 28 08:49:12 localhost kernel: usb 3-2: Device not responding to setup address.
Mar 28 08:49:12 localhost kernel: usb 3-2: Device not responding to setup address.
Mar 28 08:49:12 localhost kernel: usb 3-2: device not accepting address 32, error -71
Mar 28 08:49:12 localhost kernel: usb 3-2: new full-speed USB device number 33 using xhci_hcd
Mar 28 08:49:12 localhost kernel: usb 3-2: Device not responding to setup address.
Mar 28 08:49:13 localhost kernel: usb 3-2: Device not responding to setup address.
Mar 28 08:49:13 localhost kernel: usb 3-2: device not accepting address 33, error -71
Mar 28 08:49:13 localhost kernel: usb usb3-port2: unable to enumerate USB device


No green light. I do get 5V across pins 10 and 20 on the AVR2313.

I'll attach photos. Any other ways to troubleshoot this?

Thanks
Rob
Attachments
IMG_0549.JPG
IMG_0549.JPG (99.54 KiB) Viewed 191 times
IMG_0547.JPG
IMG_0547.JPG (108.06 KiB) Viewed 191 times

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by adafruit_support_carter on Mon Mar 30, 2020 6:22 pm

Can you please post another higher res photo of the soldering on the under side. And slightly more at an angle. Some of the pins are a little hard to visually check.

adafruit_support_carter
 
Posts: 16938
Joined: Tue Nov 29, 2016 2:45 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Tue Mar 31, 2020 1:09 pm

Sure. How's this one? The only concerning spot I see is along the 6 pin header, but that's an artifact of the photo. There's no bridge there.
Attachments
IMG_0552.JPG
IMG_0552.JPG (705.97 KiB) Viewed 155 times

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by adafruit_support_carter on Tue Mar 31, 2020 1:40 pm

Thanks. That looks OK.

Have you tried another USB cable?

Is that dmesg (journalctl) output repeatable?

adafruit_support_carter
 
Posts: 16938
Joined: Tue Nov 29, 2016 2:45 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Tue Mar 31, 2020 3:19 pm

Good idea. The USB cable I'm using is working fine w/ an Arduino. However, I did just try a second cable and multiple USB ports on my Linux host. The dmesg is repeatable.

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Fri Apr 03, 2020 7:34 am

Just checking in - any further suggestions here? Thanks.

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by adafruit_support_carter on Fri Apr 03, 2020 11:11 am

Thanks for the photo. The soldering looks generally OK.

What kind of USB port is being used on the host machine? Is there another USB port you could try and see if you get the same behavior?

adafruit_support_carter
 
Posts: 16938
Joined: Tue Nov 29, 2016 2:45 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Fri Apr 03, 2020 4:31 pm

I've tried USB 2.0 and USB 3.0 ports on the machine with similar results. Ports work fine with an Arduino.

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Tue Apr 07, 2020 6:21 pm

Any substantive ideas, guys? We've tried the simple stuff.

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by adafruit_support_carter on Wed Apr 08, 2020 6:52 pm

Yep. I'm not sure either, so passed this one on to see if others might have some ideas. Please wait a bit since people are spread out right now. But ping us again if you haven't heard anything after more time.

adafruit_support_carter
 
Posts: 16938
Joined: Tue Nov 29, 2016 2:45 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by adafruit2 on Tue Apr 21, 2020 2:44 pm

hi linux can be picky. do you have a USB 2 hub you could plug it into?

adafruit2
Site Admin
 
Posts: 19375
Joined: Fri Mar 11, 2005 7:36 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by rob175 on Wed Apr 22, 2020 7:31 am

I bought a Pololu programmer and it works great.

rob175
 
Posts: 7
Joined: Sat Mar 28, 2020 8:46 am

Re: Could not find USBtiny device (0x1781/0xc9f)

by adafruit2 on Wed Apr 22, 2020 11:02 am

yay! ok if you cant use the usbtiny email support@adafruit for a refund

adafruit2
Site Admin
 
Posts: 19375
Joined: Fri Mar 11, 2005 7:36 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by killzen on Tue Sep 22, 2020 2:03 pm

There's more to the saga of (could not find USBtiny device) under Windows 10. Seems the power plan sets a 'state' for the driver in which removing the device makes the driver 'disappear' and then plugging the USBtiny back into a USB port fails to identify and reload the driver thus AVRDUDE will not find the device. this also happens if you shutdown Windows 10. Upon next reboot, the device listing under Device Manager will be gone as will the drivers.

I will post images and a working flow of how to disable the USB 'feature' under the Power Plan for windows 10 when I get home as I know how frustrating this 'vanishing' issue can be.

killzen
 
Posts: 2
Joined: Tue Sep 22, 2020 1:57 pm

Re: Could not find USBtiny device (0x1781/0xc9f)

by killzen on Tue Sep 22, 2020 5:17 pm

plan.JPG
plan.JPG (74.38 KiB) Viewed 8 times
the following works for me under Windows 10 with a ryzen processor:
go to SETTINGS
select 'System'
select 'power and sleep'
go to top right corner and select 'Additional Power Settings'
a list of 'power plans' comes up
on the plan you are currently using click on 'Change Plan Settings'
click on 'Advanced Power Settings'
a small window opens with lists of selections
open the 'USB settings'
select 'USB selective suspend setting'
disable it

by doing this I am now able to plug and unplug (into the same USB port, a 3.0 port) without the dirvers 'vanishing' and can shutdown or restart my machine
and retain the USB drivers under the 'Device Manager'

you may need to install drivers with the Adafruit driver install utility and if that fails then use Zadig driver installer
Attachments
dev manager.JPG
dev manager.JPG (58.25 KiB) Viewed 8 times

killzen
 
Posts: 2
Joined: Tue Sep 22, 2020 1:57 pm

Please be positive and constructive with your questions and comments.