2018-06-07 01:15 AM
There are no VCP drivers for Windows 10. Apparently the Microsoft drivers in Windows 10 provide the same functionality .... HOWEVER they don't seem to work with standard STM32 MCUs with the standard/default VCP USB descriptors/configuration.
The COM port enumerates but all attempts to open the port fails. The problem is `SetCommState()` always fails with and error 87 (INVALID PARAMETER). I don't know if this a bug or not, but I can't any sets of values in the `DCB` structure to work. Even a `GetCommState()` followed by a `SetCommState()` fails !!
Apparently older versions of Windows 10 did work, but some later upgrades to `usbser.sys` caused things to fail.
see:
https://stackoverflow.com/questions/49216976/setcommstate-function-fails-error-87
I think it's time for ST to release drivers that work with Windows 10 !!
What are the chances ????
Brendan.