eclipse-threadx / usbx

Eclipse ThreadX - USBX is a high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Eclipse ThreadX RTOS
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/usbx/index.md
MIT License
148 stars 88 forks source link

high speed usb cdc acm + msd disconnected after few minutes #102

Closed calism closed 1 year ago

calism commented 1 year ago

I would to like to have usb cdc acm + msd on one usb port.

In the device manager, I see my USB serial device. My mass storage device also appears in the Windows Explorator. However after a few minutes, the USB serial device disappears from the Device Manager and likewise the mass storage from Windows Explorator. So it looks like usb gets disconnected after few minutes.

Best regards

xiaocq2001 commented 1 year ago

Since it's enumerated, the framework descriptors should be OK. Do you have USB trace to check what happens when they disappear? Will re-attaching make your device back (assuming board still power on when detaching USB)?

calism commented 1 year ago

No I don't have a usb trace.

calism commented 1 year ago

I have found an issue in my code and now everything is okay.