If you don't let the pickit control VDD then there are configurations that, once programmed, can prevent the PK from being able to put the part back into programming mode.
It would have to use the VDD-first method, and that method of entry is valid only if INTOSC and internal MCLR are not selected.
Also, make sure that there is nothing on the MCLR/VPP pin that would prevent the programmer from raising it to 12V.
Bookmarks