# PICkit 2 VPP voltage level error. Check target & retry operation. Error in PICkit 2

We are using PICkit 2 (STL035V2.0 See here ) to program a PIC 16F676. We got the error :

PICkit 2 VPP voltage level error. Check target & retry operation. Error in PICkit 2.

We also get the error: Invalid OSCCAL Value detected warning.

We just found a solution and would like to post it here.

Actually the PICkit we are using is little different from standard PICkits. We placed the IC at the wrong position on the bed.Ours is a 14 pin IC (PIC 16F676). So It gave the errors

PICkit 2 VPP voltage level error. Check target & retry operation. Error in PICkit 2.

In this PIC kit See here it is quite different, and you can see that we have to place the IC in the 3rd position starting from the top.(For 14 pin IC, 8 Pin IC and 20 Pin IC) . And For the 18 Pin IC, you need to keep it where it is marked as 18.

So that will solve the first error.

And for the second error,

Invalid OSCCAL Value detected warning.

Just select the following in PICKit Programmer Software:

1. Select Tools->Check Connection.
• @ReejeshPK - I don't know whether Dan1138 found it in the same place as I did, but I found the image he kindly linked on this product's Amazon India page here. See the 5th image down on the left side. (P.S. Dan will have been notified of your comment, as his was the only comment when you replied - but unless you use the "@name" syntax, you may find some people will not get notified - the rules are quite complex. See meta.stackexchange.com/q/43019 for more info.) – SamGibson Feb 6 at 21:19