0

Unable to enumerate USB device
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Unable to enumerate USB device

by areid_van on Mon Aug 21, 2017 6:11 pm

Hi,

I bought a USBTinyISP kit from Digikey. I put it together but sadly the computer won't recognize the USB device. Both Linux and Windows (driver installed) recognize a USB device is connected, but it can't be enumerated. This is the output on Linux:

[55500.199859] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[55501.109864] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[55502.019896] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[55502.929847] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[55502.930186] usb 1-1-port2: unable to enumerate USB device

I pulled the microconroller chip out of the socket and built the circuit on a breadboard, but get the same results. Is it possible that my microconroller isn't pre-programmed? Any other suggestions for troubleshooting? I've checked my assembly work fairly carefully and can't see any mistakes or bad solder joints. I'm attaching photos of my assembled board

usbtinyisp1.jpg
usbtinyisp1.jpg (411.28 KiB) Viewed 212 times


usbtinyisp2.jpg
usbtinyisp2.jpg (304.4 KiB) Viewed 212 times


Any help is greatly appreciated!

areid_van
 
Posts: 4
Joined: Mon Aug 21, 2017 5:57 pm

Re: Unable to enumerate USB device

by Russell 27 on Mon Aug 21, 2017 9:18 pm

There were a few others that had problems with Attiny2313 fuses and main program not flashed properly. If you don't have another programmer, hard to check status. If you scroll down several posts in this section you can take a look. Some other issues are also mentioned. If you connect chip to another programmer and can communicate without an external 12 MHz crystal, fuses are not correct.
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: Unable to enumerate USB device

by areid_van on Mon Aug 21, 2017 11:27 pm

Thanks for your reply. Unfortunately I don't have another programmer, so not sure how I can debug. I'll read through the other posts for ideas. I had enough parts to build the circuit on a breadboard and it behaved exactly the same, so I'm suspicious of the controller.

I assume the USB device should be recognized even if I don't have a target device attached? I did try connecting an ATTiny85 but it didn't behave any differently.

areid_van
 
Posts: 4
Joined: Mon Aug 21, 2017 5:57 pm

Re: Unable to enumerate USB device

by Russell 27 on Mon Aug 21, 2017 11:32 pm

You don't need device attached for recognition.
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: Unable to enumerate USB device

by Russell 27 on Mon Aug 21, 2017 11:42 pm

Take a look at THIS in particular.
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: Unable to enumerate USB device

by areid_van on Tue Aug 22, 2017 2:58 am

Thanks, I'd found that post as well. Sounds like the exact same experience I've been having. I too broke down and ordered another programmed chip. I really hope the next one works!

areid_van
 
Posts: 4
Joined: Mon Aug 21, 2017 5:57 pm

Re: Unable to enumerate USB device

by Russell 27 on Tue Aug 22, 2017 9:16 am

This is fuse settings and flash if you need for your chip. I have a few different types of this programmer and it's what I use. Once you get your replacement you can of course check the original.

flash.zip
(4.3 KiB) Downloaded 10 times
Russell 27
 
Posts: 217
Joined: Thu Sep 12, 2013 3:59 pm

Re: Unable to enumerate USB device

by areid_van on Wed Aug 23, 2017 1:52 am

Got my new chip and it works great in the board I built, so it was definitely a problem with the original controller chip I got! Using the new chip I can see that the fuses on my original chip were certainly wrong.

Fuses: E:FF, H:9D, L:E4
md5(flash): 1a78369fa91963f32be4b3087ebf2ef1

That's the exact same fuses and flash as in this post. I guess there was a bad batch of chips.

Thanks for sending the correct flash along. I'll re-flash the original chip and I guess I'll have a spare programmer.

areid_van
 
Posts: 4
Joined: Mon Aug 21, 2017 5:57 pm

Please be positive and constructive with your questions and comments.