protaskin / LowCDC-Win10x64

A lowcdc.sys driver package for Windows 10 x64. Supports AVR-CDC and Digispark devices.
GNU General Public License v2.0
23 stars 5 forks source link

BSOD after plugging Digispark in #2

Closed radezet closed 6 years ago

radezet commented 7 years ago

Hello! I've developed device with digispark as main microcontroller and I'am using serial over USB to communicate. Everything works great for long time on Windows 7, but when I plug in to Dell E6430 with Windows 10 it immediately crashes. BSOD is saying "SYSTEM THREAD EXCEPTION NOT HANDLED" "What failed: lowcdc.sys". The same problem was described here.

Best regards, Radek

PS Sorry for my English! :)

protaskin commented 7 years ago

Hello, Radek!

Oh, I must finish the English translation of the README...

I'm not familiar with the Digispark devices, so I assume you are using these drivers?

If that's correct, then the DigiSerial driver doesn't work because of using the standard Windows usbser.sys driver, which has been completely re-written in Windows 10. So, if you install the lowcdc.sys driver package that contains and uses the usbser.sys driver from Windows 7, the communication should work. A disadvantage is that the DigiSerial driver package is signed, but mine is not, and you will have to test-sign the driver package (all routine work can be done by using the createcat.bat script) and use the TESTSIGNING boot configuration option whenever you want to communicate with your device.

Please confirm the driver package you're using and I will try to reconfigure it.

Also I'm going to finish the translation of the README in a few days.

radezet commented 7 years ago

OK... i understand now :D Yes I'm using Digistump drivers. Thank you very much for your reply, especially, if I understand correctly, I wrote this issue in wrong repository. I just googled lowcdc.sys and I came here.

I have read English readme and it's completely clear.

protaskin commented 7 years ago

No problem.

Try to install this driver package, which is complete and has been test-signed. You have to uninstall the DigiSerial driver, import the certificate from the catalog file, enable the TESTSIGNING boot configuration option before installation of the driver package. Check out the README file for more information. Please do not publish this driver package anywhere.

Or you can use the digispark-support branch and create a driver package by yourself.

protaskin commented 6 years ago

Digispark support has been tested, so I merged the digispark-support branch to the master. 7b84cd847ec09c77ea029ef31e3ec6d4dfbe45c9

wop kindly released the test-signed driver package here.

jwillmer commented 6 years ago

For all others that do not like to join the forum: LowCDC-Win10x64-1.0.1.6.zip