Hello.
I have made a PICkit 2 (lite version). Have burnt the correct firmware in PIC18F2550 (downloaded from microchip website) successfully. Everything seems in order, but when I connect the programmer to the PC, windows pops up a message that 'usb device has malfunctioned and windows does not recognize it'. Same goes for PICkit2 GUI, that it does not detect the programmer. Plz help me.
Note: The circuit has been previously made and tested by others and its a working circuit. The voltage levels on power pins are also good i.e. 5V.
Think you need to double check the USB socket is wired the correct way round and that the USB cable has continuity.
Have you used a pcb or hardwired or on a breadboard ?
Apart from a short or broken track the only parts needed to run the 2550 and be recognised by the pc are the crystal and its caps and the cap on vUSB.
The ferrite FB1 is not actually needed.
Cannot help on the pc / usb driver side of things - possibly removing and reloading pickit2 v2.61 might do the trick.
From the Pickit2 side, one thing that might show if the program is running, if you hold down the Pk2 button then plug the cable into the pc, the Busy led should flash on and off.
There is a capacitor that grounds from a PIC pin 14 VUSB, this is very critical for USB to work. the symptoms you describe seem like a capacitor issue try changing it.
Spiralbrain, can u plz tell me which value of capacitor is required??
I have placed a 470 uF on pin 14.
Added after 39 minutes:
I have replaced the capacitor at pin 14 from 470 uF to 430 nF. But, still no luck.
Added after 1 hours 21 minutes:
Thankyou guys for your help.
The circuit is now up and running. I had to replace the capacitors at both pin 14 and the usb connector. I dont know how the previous values of capacitors were conflicting but they were indeed the source of trouble.
Hello, my friends, I had the same problems that the friend above, related to the 470nF capacitor, put another capacitor of 470nF and PICkit2 was recognized. Regards to all.