I commented out the four offending lines in the 18F4550.INC file and now don't get any errors. However, still get a error message from windows when I attach the PIC
Messages are: Found New Hardware. USB Device
USB Human Interface Device
A problem occurred during hardware installation. Your new hardware might not work properly.
I have tried USBDemo.exe and HIDmonitor.exe neither of these seems to see the PIC.
Any suggestions as to what I should try to do now to find the fault. At this stage I have not connected the push buttons or the trim pot to the breadboard but this shouldn't affect the pic being recognised as a USB device.
P.S. I have the USB connected to 18F4550 in the following way. D- to pin 23, D+ to pin 24 and the -ve usb connection and the USB case connected to vss. I have not connected the +ve usb connection to anything.




Bookmarks