
Those pins will toggle continuously when programming and your connected circuit should tolerate that. you should make sure that the circuitry connected to PGD and PGC can tolerate switching when programming (as connecting an emergency self destruct circuit). FIGURE 1-1: PIC12F629/675 BLOCK DIAGRAM 13 Data Bus 8 FLASH Program. you can try adding series resitors in this case as it is the simplest solution. DS41190B-page 1 PIC12F629/675 Pin Diagrams 8-pin PDIP. The VDD and VSS pins also need hooked up but they dont eat processor pins. PGD or PGC is used as an input, hence the circuitry could be supplying those pins with 5V or 0V and a short may happen. To program the chip, all 3 pins need hooked up MCLR, ICSPDAT and ICSPCLK.You should be careful to isolate the programmer circuitry from your circuitry, and that is when: press on the 'Generate Source Code to Output' button copy the text you received to the top of the main.c file If you see the text you copied displayed as errors don't mind it, it is a known bug in MPLAB X I never worked with pic12f629 using MPLAB X but basically if you don't erase the entire PIC your OSCCAL will be saved. when the circuit connected to MCLR can tolerate a high voltage (about 12V) then its better to use normal programming mode(high voltage) so that the microcontroller could never get into programming mode by accident. In short, LVP it is a method to put a PIC into programming mode without having to apply more than 5V to the MCRL pin.
