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.
Best Answer
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
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,
Just select the following in PICKit Programmer Software:
Now try reading, blank check, erase,etc.
Note: This is for this version (STL035V2.0) Version only. Check Your Pickit for the placing the IC at the correct position.