Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with Windows not recognizing a PICkit 2

Status
Not open for further replies.

khansaab21

Advanced Member level 4
Joined
Apr 12, 2008
Messages
108
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Activity points
2,214
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.
 

Re: PICkit2 Query

Hi,

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.
 

PICkit2 Query

USB socket is wired in the correct way. I have double checked it. The ckt has been made on a varrow board.

To best the best of my knowledge, there are no un necessary shorts or opens. And thats verified.

Now whats the next step??
 

Re: PICkit2 Query

Hi,

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.
 

Re: PICkit2 Query

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.
 

PICkit2 Query

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.
 

PICkit2 Query

I have made a PICkit 2 (lite version).

that's the price you pay for a knock-off tool: you spend more time debugging the tool than your code.
 

Re: PICkit2 Query

470 uF is too big for the USB line, both at pin 14 and the power line I am sure it made the USB line surge. I am glad its sorted.

@millwood: you may be right that there is a price for a knockoff but see not everyone can afford the real PICKIT2 in the east.
 

PICkit2 Query

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.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top