Device recognition fails sometimes
Posted: Thu Jul 19, 2007 12:32 am
Hi,
Has anybody experienced failed recognition after connecting or resetting AVR? I have about 20% success rate on getting connection. After device is found, the connection seems to work fine without any communication errors, ever. I checked the D+ D- signals with scope and they look fine. I tried also putting small 0.39-1nF filter caps on the lines without any help.
It feels like computer tries to connect the device because the "Device" number rolls constantly when AVR is plugged and has failed to connect (however, D+ D- lines seem to be quiet at the same time!). Output of lsusb -t:
Bus# 5
`-Dev# 1 Vendor 0x0000 Product 0x0000
`-Dev# 4 Vendor 0x0424 Product 0x2504
|-Dev# 98 Vendor 0x56c0 Product 0x15dc <-AVR
`-Dev# 26 Vendor 0x046d Product 0xc016
Bus# 4
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 3
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 2
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 1
`-Dev# 1 Vendor 0x0000 Product 0x0000
Any ideas why recognition may fail?
Has anybody experienced failed recognition after connecting or resetting AVR? I have about 20% success rate on getting connection. After device is found, the connection seems to work fine without any communication errors, ever. I checked the D+ D- signals with scope and they look fine. I tried also putting small 0.39-1nF filter caps on the lines without any help.
It feels like computer tries to connect the device because the "Device" number rolls constantly when AVR is plugged and has failed to connect (however, D+ D- lines seem to be quiet at the same time!). Output of lsusb -t:
Bus# 5
`-Dev# 1 Vendor 0x0000 Product 0x0000
`-Dev# 4 Vendor 0x0424 Product 0x2504
|-Dev# 98 Vendor 0x56c0 Product 0x15dc <-AVR
`-Dev# 26 Vendor 0x046d Product 0xc016
Bus# 4
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 3
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 2
`-Dev# 1 Vendor 0x0000 Product 0x0000
Bus# 1
`-Dev# 1 Vendor 0x0000 Product 0x0000
Any ideas why recognition may fail?