Microchip USB driver for PIC18F4550 (Windows 7 64-bit)
After I downloaded
Microchip's Libraries of Application
and succesfully compiled one of the USB examples, I ran into a problem:
my custom USB-device was running smoothly when connected to a Windows 7/XP 32-bits version but as soon as I tried to connect it to a system that runs Windows 7 64-bits, it was not recognized by the OS and showed an error.
Digging around the internet did not solve my problem, but it did give me the right hints to find the solution and it's actually quite simple. See the steps shown below.
Go to "start" and run the program "hdwwiz.exe"
The following screen will appear (probably not in dutch), but the mouse clicks will be the same anyway.
Choose the option "select manually...". This is not the default option.
Select "all devices". This is the default.
Select "install from disk" and browse to the following location:
C:\Microchip Solutions v2012-08-22\USB\Device - MCHPUSB - Generic Driver Demo\Driver and inf
Where "C:\Microchip Solutions v2012-08-22" is the root directory you have chosen during installation of the library of apllications.
Note: the warning code 10 is really an indication that there's something wrong with your device/cable/software.
When I got the warnings 'the device did not start', it still was able to use the device and at first it seemed to work correctly. I had no problems in writing data to the USB device, but after reading data, the USB connection was halted after about 30 seconds. After changing the capacitors near the crystal to a lower value, I reinstalled the driver: no warning/error occured and the device worked fine. So check your circuit and cable when this error occurs!
Finally: it runs against the 64-bit Windows 7...
Back to List