PK2Error0049: VPP Voltage error. Check target and retry operation

You will need a +12V power supply for this. The trick is to hold the microcontroller(In my case PIC16F877A)  MCLR line to +12V until just the programming operation begins and  you have to quickly remove the power or else the programming will fail. This short time pull is needed only when entering the Debug mode or programming mode. You have to work around at what time exactly you remove the connection. Now my PICKIT2 is working properly with a extra 12V adaptor. Hope yours works too.. 😉

 

1 thought on “PK2Error0049: VPP Voltage error. Check target and retry operation”

  1. Maybe you could use a mosfet to drive the external 12v using the mclr to the gate. This way the programmer would control the exact momment to go high or low.

Leave a Comment

Your email address will not be published. Required fields are marked *