3/16/2021 0 Comments Windows Cdc Driver
Even if you disable selective suspend for USB, it does something that causes apps to crash and the device to sendreceive odd characters.For example, if I open the virtual COM port in Putty, it becomes unstable if the Putty window loses focus.I have my own app which uses standard CreateFile() calls to access the port, which I guess is probably what most apps do (I tried Putty and HyperTerminal too).My device is not getting USBSUSPEND callbacks, and I can see with a scope that the USB clock doesnt go away.
I tried hyperterm and I notice one difference between Win10 and Win7. ![]() Windows Cdc Software Works FineThe software works fine there too. Microsoft re-wrote the USB CDC driver (usbser.sys) for Windows 10. Its better now, it can handle things like surprise disconnects much like the FTDI driver can, but it also seems to be causing some problems with my Windows software. Like steve17, I have noticed that most apps seem to behave differently on Windows 10 when using USB CDC devices. Im waiting for IT to supply me with a laptop that can run Visual Studio so I can debug it. Windows Cdc Serial Port AndThe API in Windows 10 works a little differently, even though the functions are the same, and the timing between the serial port and the rest of the USB stack is different. For example, API functions that would accept a null pointer for stuff you werent interested in now crash, so you have to create a temp variable just to pass in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |