question

AndreyGM-0690 avatar image
0 Votes"
AndreyGM-0690 asked AndreyGM-0690 commented

USB serial port some data loss with Windows 10.

Hi.

I use USB device - STmicroelectronics development board. Use firmware, that support usb hardware. Its works as USB serial port.

On host PC (win10 21H1) i use serial terminal ("Tera Term") for get data from my device. I use standart windows usbserial driver.

My device sending data. If data flow is small (1-2-5 kByte / s) - all work fine. But if i speed up (flow about 100 kByte / s) - i see data loss.

I communicated with STmicroelectronics support. We checked issue. We saw USB communication with USB analyzer. We think, than it's windows side problem.

Also, I use a custom port read utility. Data integrity problem persists.

In received data i saw lost 64 or 128... multiple of 64 bytes/ 64bytes - endpoint size in my case. See linked data for more information.

Information from ST support communication and USB analyzer log file.

https://drive.google.com/drive/folders/1CvTPfaFGmcFxD4V5zTvsVE6U26DNwG2v?usp=sharing

windows-hardwarewindows-hardware-wdk
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Given the current state of free USB libraries provided by ST for STM32 developers, it cannot be said decidedly that the problem is on the Windows side.
Have you tried to run your tests on Linux? If not, please consider. On Linux you can instrument host side driver.

--pa

0 Votes 0 ·

Hi Andrey,

I'm facing similar issues with STM32 under Windows, did you by chance get some clues about this issue?

Thanks!

0 Votes 0 ·

Hi, GS-4381. No, I have not news.

0 Votes 0 ·

0 Answers