cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Virtual COM Port Driver crashes randomly

knut2
Associate II

I use the current version 1.5.0 of the STM32 Virtual COM Port Driver.

Sometimes i got a bluescreen during my running Win32 App.

As far I know, this problem is related to usbser.sys. But how to fix it?

I'm using Win7 x64 and the usbser.sys is version 6.1.7601.18247.

I do not expect any help from microsoft.

But can STM force a bugfix or: Develop an own CDC driver for Windows?

Knut

13 REPLIES 13
Pavel A.
Evangelist III

This one is almost same as the previous.

-- pa

knut2
Associate II

Does it mean, it is not the Renasas USB3 driver but is an usbser.sys related issue?

If yes, is it possible to get a bug-free CDC driver from MS or STM?

If not, what do you think (with your 200 years experience 🙂 :( Writing an own driver? As far i know, there is a skeleton driver in WDK for CDC, correct?

What i forgot: Using a USB2 Hub between PC and device. What difference it makes?

Knut

TDK
Guru

There is an option to disallow the OS from putting the USB device to sleep. Disabling this option has resolved some blue screen issues for me. It's not clear if it was an OS issue, a driver issue, or a hardware issue. Google USB Selective Suspend. Might be worth a shot.

If you feel a post has answered your question, please click "Accept as Solution".
knut2
Associate II

0690X000009k96VQAQ.pngHi TDK,

I think, we can exclude this. I have done this as first after installing the OS: Disable all Energy save options and put all other options to 100% performance. One part of this is also to disable selective USB suspend.

Knut