device descriptor & device not accepting address

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
CraXyOW3
Posts: 1
Joined: Thu Jul 18, 2013 3:57 pm

device descriptor & device not accepting address

Post by CraXyOW3 » Thu Jul 18, 2013 5:38 pm

I have followed this "tutorial" http://www.justblair.co.uk/the-attiny45 ... ifier.html

After everything is flashed and im testing the circuit i got this dmesg:

Code: Select all

[  726.588067] usb 2-1: new low-speed USB device number 5 using ohci_hcd
[  726.768098] usb 2-1: device descriptor read/64, error -62
[  727.056079] usb 2-1: device descriptor read/64, error -62
[  727.336069] usb 2-1: new low-speed USB device number 6 using ohci_hcd
[  727.541350] usb 2-1: device descriptor read/all, error -62
[  727.720230] usb 2-1: new low-speed USB device number 7 using ohci_hcd
[  727.751447] usb 2-1: device descriptor read/all, error -62
[  727.932074] usb 2-1: new low-speed USB device number 8 using ohci_hcd
[  728.340077] usb 2-1: device not accepting address 8, error -62
[ 1396.068078] usb 2-1: new low-speed USB device number 9 using ohci_hcd
[ 1396.248089] usb 2-1: device descriptor read/64, error -62
[ 1396.532083] usb 2-1: device descriptor read/64, error -62
[ 1396.812100] usb 2-1: new low-speed USB device number 10 using ohci_hcd
[ 1396.992063] usb 2-1: device descriptor read/64, error -62
[ 1397.276056] usb 2-1: device descriptor read/64, error -62
[ 1397.556109] usb 2-1: new low-speed USB device number 11 using ohci_hcd
[ 1397.964096] usb 2-1: device not accepting address 11, error -62
[ 1398.140120] usb 2-1: new low-speed USB device number 12 using ohci_hcd
[ 1398.548058] usb 2-1: device not accepting address 12, error -62
[ 1459.120053] usb 2-1: new low-speed USB device number 13 using ohci_hcd
[ 1459.300076] usb 2-1: device descriptor read/64, error -62
[ 1459.584104] usb 2-1: device descriptor read/64, error -62
[ 1459.864099] usb 2-1: new low-speed USB device number 14 using ohci_hcd
[ 1460.044077] usb 2-1: device descriptor read/64, error -62
[ 1460.328076] usb 2-1: device descriptor read/64, error -62
[ 1460.608088] usb 2-1: new low-speed USB device number 15 using ohci_hcd
[ 1461.016069] usb 2-1: device not accepting address 15, error -62
[ 1461.192063] usb 2-1: new low-speed USB device number 16 using ohci_hcd
[ 1461.600064] usb 2-1: device not accepting address 16, error -62


The only thing i edited is from attiny45 to attiny85 and ofc choice of programmer.
programming the hex and fuses are all OK.

Made sure that cpu/lfuse and hfuse is correct.
F_CPU = 16500000
FUSE_L = 0xe1
FUSE_H = 0xdd

Also i have tried with 2 types of current regulator and 2 sources.
Both from usb and standalone transformer, one with 2x serial 1n4148 diodes and the other is a lm1117 3.3v regulator.

Also as windows can be bogus sometimes i tried this all with my bodhi-laptop.

What am i doing wrong?

andiotm

Re: device descriptor & device not accepting address

Post by andiotm » Thu Sep 26, 2013 8:00 am

Hello,

I got the same error message.
Based on some forums I have tried first "rmmod ehci_hcd".
After that, enabling and disabling OHCI "rmmod ohci_hcd" and "modprobe ohci_hcd".
Sometimes it recognizes the device, sometimes not...

On Windows XP it is working fine. So not sure what generates this incompatibility

Any ideas how to make it work everytime in linux?

Thanks.

Post Reply