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"
hdwwiz.exe
hdwwiz.exe

The following screen will appear (probably not in dutch), but the mouse clicks will be the same anyway.
step 1
step 1

Click "Next"
step 2
step 2

Choose the option "select manually...". This is not the default option.
Click next.
step 3
step 3

Select "all devices". This is the default.
Click next.
step 4
step 4

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.
step 5
step 5

Click next.
step 6
step 6

Click next.
step 7
step 7

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!
step 8
step 8

Finally: it runs against the 64-bit Windows 7...
On 21-10-2013 16:00:10, edu wrote:

comment=tk

On 23-11-2013 14:19:34, ali wrote:

comment=hey+to+every+one+%0D%0Ai+have+a+problem%0D%0AI+couldn't+start+the+Code+10+and+make+the+error+(in+both+system+(32+bit+%26+64+bit++couldn't+start)

On 25-11-2013 22:25:27, HISOKA wrote:

comment=GOOD+GOOD%0D%0A

On 26-11-2013 20:02:12, Erwin van Dijk wrote:

comment=Hi+Ali%2C+%0D%0AAs+I+mentioned+in+step+7.+Code+10+is+really+an+indication+that+there's+something+wrong+with+your+device+or+cable.+In+my+project+it+looked+ok%2C+but+after+a+while+the+connection+was+lost.+Changing+the+capacitors+did+do+the+trick+for+me.+Can+you+send+me+a+photo+of+your+usbdevice+you+made+and+a+schema%3F+Maybe+I+can+help+you+to+find+a+flaw+in+your+design...%0D%0A%0D%0ARegards%2C%0D%0AErwin

On 8-12-2013 09:48:34, Erwin van Dijk wrote:

comment=Hi+Ali%2C%0D%0AThanx+for+you+mail.+In+the+schema+you+refer+to+at%0D%0Ahttp%3A%2F%2Fwww.rakeshmondal.info%2Fpik%2Fpic18f4550-usb-demo-board-schematic.jpg%0D%0AI+would+add+a+resitor+between+the+oscillator+and+pin14+(OSC2)+and+use%0D%0Asmaller+capacitors%3A+15pF.%0D%0ASee+also+the+schema+I+use+in+my+blog%3A%0D%0Ahttp%3A%2F%2Fwww.fsays.eu%2FBlogging%2FBlog%2FDetails%2F6++(Using+Velleman%0D%0AK8076%2FVM134+PIC-programmer+with+Microchip's+Library+of+Applications%3A+USB+programming+basics)

On 29-1-2014 06:42:17, elvis wrote:

comment=ta+bien+este+tema

On 22-8-2014 02:30:15, spykey wrote:

comment=Hey%2C%0D%0Acan+you+please+share+you+pic+source+code+to+run+on%2Foff+led%3F+and+the+little+windows+software+that+you+did%3F%0D%0A%0D%0A%0D%0Athank+you!

On 26-8-2014 19:26:52, Erwin van Dijk wrote:

comment=You+asked+me+to+send+you+the+source+code+for+both+the+windows+as+the+PIC.%0D%0AYou+should+have+a+look+at%3A+http%3A%2F%2Fwww.microchip.com%2Fpagehandler%2Fen-us%2Fdevtools%2Fmla%2Fhome.html+Here+you+can+download+the+official+Microchip+Library+of+Applications.%0D%0A%0D%0AMy+code+is+just+an+adjusted+version+of+the+project+%22Device+-+HID+-+Custom+Demos%22.+I+have+mailed+you+my+adjusted+version+of+both+the+PIC+and+windows+application+

Back to List

All form fields are required.
A confirmation mail for the comments will be send to you.