Hi Nigel,
I just had the pic connected to the PICkit2 via a piece of Veroboard which has some ZIF sockets on it. It is powered from the PICkit2. I have used the PICkit2 in the past for in circuit programming but I try to avoid any connections to the programming pins and the MCLR pin at the design stage that would load them during programming. I also insert a schottky diode in the supply to the VDD pin so that the PICkit2 is not trying to power the rest of the circuit during programming. I can't remember which side of the diode I connect the decoupling capacitor to. I seem to remember that the PICkit2 does not like to see a decoupling capacitor with too large a value on the VDD pin as it slows down the switching of the programming signal to the VDD pin.
Les.
I just had the pic connected to the PICkit2 via a piece of Veroboard which has some ZIF sockets on it. It is powered from the PICkit2. I have used the PICkit2 in the past for in circuit programming but I try to avoid any connections to the programming pins and the MCLR pin at the design stage that would load them during programming. I also insert a schottky diode in the supply to the VDD pin so that the PICkit2 is not trying to power the rest of the circuit during programming. I can't remember which side of the diode I connect the decoupling capacitor to. I seem to remember that the PICkit2 does not like to see a decoupling capacitor with too large a value on the VDD pin as it slows down the switching of the programming signal to the VDD pin.
Les.