Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EFM32 Driver: error -110 upon first enumeration #750

Closed
perigoso opened this issue Mar 23, 2021 · 6 comments
Closed

EFM32 Driver: error -110 upon first enumeration #750

perigoso opened this issue Mar 23, 2021 · 6 comments
Labels

Comments

@perigoso
Copy link
Collaborator

Ok I have now tested a couple different examples, all without issues after enumeration, but there is one common issue, every time after initialization the devices times out

[ 5845.144641] usb 3-4.3: USB disconnect, device number 25
[ 5889.104950] usb 3-4.3: new full-speed USB device number 26 using xhci_hcd

[ 5904.562516] usb 3-4.3: device descriptor read/64, error -110

[ 5904.767196] usb 3-4.3: New USB device found, idVendor=cafe, idProduct=4004, bcdDevice= 1.00
[ 5904.767203] usb 3-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5904.767206] usb 3-4.3: Product: TinyUSB Device
[ 5904.767210] usb 3-4.3: Manufacturer: TinyUSB
[ 5904.767213] usb 3-4.3: SerialNumber: 123456

this happens every time after reset, but after the first enumeration, the device re-enumerates fine, as in, unplugging and plugging back in, it's immediate (device is self powered for testing)

not quite sure how to debug this, I dont have a capable enough logic analyzer, I've looked at wireshark but no packets show up before the timeout, everything afterwards looks normal.

From > #703

@perigoso
Copy link
Collaborator Author

perigoso commented May 6, 2021

@hathach do you have he sltb009a yet? I now have a luna so I can capture some lower level packets, I want to tackle this bug, because its a bit annoying having to wait 10s every time i plug in a device 😛

@hathach
Copy link
Owner

hathach commented May 7, 2021

I still haven't got the board yet, I have some back order from digikey. and They just shipped it out. Though I currently don't have much time to work on this atm, but I will try to help you if needed.

@hathach
Copy link
Owner

hathach commented Nov 4, 2021

I have tested with sltb009a and didn't notice this issue, please give it a try again with the new dwc2 driver.

@perigoso
Copy link
Collaborator Author

perigoso commented Nov 4, 2021

Thanks for testing, I will try again later today.

and good job with the generalization of the driver

@perigoso
Copy link
Collaborator Author

perigoso commented Nov 4, 2021

The issue is in fact fixed! good job.

I didn't investigate much, so I don't know what was causing it, just confirmed it was still present, and it's fixed as of the dwc2 merge

my system: Linux 5.14.12-zen1-1-zen x86_64 just for reference, I never tested this on windows or mac

@perigoso perigoso closed this as completed Nov 4, 2021
perigoso added a commit that referenced this issue Nov 4, 2021
remove known issue #750 from silabs EFM32GG table entry
@hathach
Copy link
Owner

hathach commented Nov 5, 2021

thank you for testing it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants