WinUSB is very easy to use and has a very similar interface to the generic library.Its from Microsoft and under active development so it is already included in the newer versions of Windows.
Libusb For Windows Driver Is SignedThe driver is signed so all you need to do is get the INF file signed. Libusb For Windows Install Even IfI havent used Windows 7, but on Vista x64 the winusb driver will still install even if the INF is not signed but the user will still get the Very Scary Popup. To get the INF signed, you need to submit it to Microsoft for WHQL testing on every change, or you need to buy a certificate from a certificate authority. Check out the WDK for a whole bunch of documentation on this issue. Several companies have successfully finished the WHQL testing with their libusb-win32 based driver package. This will allow the customers to install the driver without a warning under current 32bit64bit Windows. I would really advise you to use the libusb driver, as it is a mush more simple API and it makes a lot more of sense for embedded systems developers. ![]() As mgray mentioned, you should use the latest version of libusb-win32 (now it is 1.2.1.0), libusb-win32 kernel driver (libusb0.sys) is digital signed and can be installed under 64bit Windows Vista and Windows 7. So you just need to use the inf-wizard to generate a new driver package for your device. ![]() Libusb For Windows Update The DriverI hope Microchip will update the driver package in later version of the USB stack. ![]() Even though the kernel drivers (libusb0.sys, winusb.sys and mchpusb64.sys) are signed, the driver package (which includes the inf file which corresponds to your device) is not. The only way to avoid the warning is to pay Microsoft for WHQL (like the driver package in C:Microchip SolutionsUSB ToolsMCHPUSB Custom DriverMCHPUSB Driver). From my understanding, you have two ways to get rid of the Scary popup. Go through WHQL and get it signed by Microsoft. Buy a certificate from a certificate authority and sign your own packages. With option 2 you can sign the package as many times as you want for as many changes as you want. The system will popup a Less Scary popup saying do you trust such and such company. I noticed that Microchip has switched to option 2 for the 64bit drivers for the development tools included in the more recent versions of MPLAB. Im guessing because they got tired of paying for the testing for even little change. Finally, you may want to read the section on test signing in the WDK. You can install the public key certificate in various certificate stores on the machine and you can completely remove the popup even for self signed certifcates.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |