I’ve got a circuit which uses a 12F683 in SMD package and I want to be able to reprogram it even after it’s soldered in place. I’ve been through a few iterations on this and while it works OK I’m worried that the programmer is powering the rest of the board (not shown in the attached file) via the +5V & GND.
I’ve added a 2-pole DIP switch to isolate the ICSPCLK & ICSPDATA pins (6 & 7 respectively) but the programmer still lights other LEDs connected to the common +5V & GND (not shown in the schematic). I want to swap out the 2-pole DIP switch for a 3-pole one and isolate either the +5V or GND pin - but which one is best? If I connect the +5V pin of the PIC to the DIP Switch, then the route from +5V to the 0.1uF cap is longer, which I think is to be avoided; should I put the GND pin through the DIP instead?