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
145 stars 87 forks source link

USB device CDC-ACM class is not stable when we use host machine as windows or mac, #164

Open MaheshAvula-Alifsemi opened 1 month ago

MaheshAvula-Alifsemi commented 1 month ago

Hi @xiaocq2001,

I am working on USB device CDC-ACM class and running stress, when we connect my USB device to Linux host machine stress test was passing but when we connect USB device to Windows host machine stress test was failing after running some time. stress test includes testing host machine sending 512 bytes of data to the device and device sending back to the host. from the USB trace I can see SET LINE CODING request is not succeeded.

Do we need to do handle any other requests which sent from Window machine?, could you please give anyinputs on this. Here I am attaching USB data trace . B3_data_trace.zip

Thanks Mahesh

MaheshAvula-Alifsemi commented 1 month ago

Hi @xiaocq2001,

I really appriciate your help on above issue.