I have these two reference images:
and I'm trying to put a 6-pin header on my circuit so that I can easily reprogram the PIC if needed, without having to resolder. (I'm using the surface mounted version of the PIC, but I assume that makes no difference.)
So far, I have PK-pin1 goes to PIC-pin4, PK-pin2 goes to PIC-pin1, PK-pin3 goes to PIC-pin20, PK-pin4 goes to PIC-pin19, PK-pin5 goes to PIC-pin18, but I'm not sure about PK-6?
First of all, if I do this with the header, I will be able to reprogram the PIC in the circuit, right? Or will I need to put a jumper to isolate the PIC from the rest of the electronic components on the board? I will only have caps, resistors and microswitches. I am otherwise not using the MCLR/PGC/PGD pins at all.
And secondly, do I need to use the PICKit pin6 for anything?