Electronic – PIC: What clock is used to program the PIC

clockpic

I have a PIC16 that is not connected to an external clock. If I program the PIC with the FLAG setting the clock to an external clock, then will I ever be able to reprogram the PIC?

Is the programming clock the one specified by the flags, or is it an external one provided by the programmer (PICKIT 3)?

Best Answer

Programming is clocked by the PGC line of the programmer, which is completely independant of the clock used when the PIC is running.