Repository navigation
CDC with usbser.sys randomly loses packets #4625
Unanswered
mike-colls-uk
asked this question in
Q&A
Replies: 2 comments 1 reply
|
By default CDC IN transfer FIFO is set to overwritable as there is no way to detect if the port is opened on host or not, you can use |
1 reply
|
You can use vendor class and MSOS 2.0 descriptor to let Windows load WINUSB driver automatically, like https://github.com/hathach/tinyusb/tree/master/examples/device/webusb_serial |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am trying to use TinyUSB as a CDC-ACM device on a STM32U073 processor.
In our application we are trying to exchange data at a very high rate and found when using Windows with the Microsoft usbser.sys driver it can occasionally and randomly lose USB packets. This seems to be a known issue on the Windows side, not a TinyUSB issue.
https://community.st.com/stm32-mcus-embedded-software-32/usb-cdc-packet-loss-at-high-data-rates-160879
https://kb.segger.com/CDC#CDC-ACM_issues_on_Windows_10
https://community.arm.com/forums/f/keil-forum/32273/usbser-sys-quirks-explained
https://stackoverflow.com/questions/67804128/stm32-usb-cdc-some-data-lost-with-win-10
Is there a known workaround for this issue that will allow TinyUSB to work with this the usbser.sys device driver?
Does TinyUSB have an option to add a delay between transfers as some posts suggest?
I would like a solution that uses the standard Windows device driver as this does not require admin privileges to install a device driver.
Many Thanks
Mike
All reactions