Sunday, February 17, 2013

In Circuit Programming connection for PIC Microcontrollers

For the PIC Microcontrollers to function as per the program, the program needs to be loaded to its EEPROM. ICSP is the method which would enable the programming of the MC while in circuit, i.e., you do not have to remove the microcontroller from the circuit board to program it.

To program a microcontroller you would require a programmer (e.g., PICKIT2 or similar). It is a piece of hardware which can be connected to a computer with PICKIT2 programmer software or similar software through a serial or USB connection. The programmer has ICSP header pins which needs to be connected to PIC in the circuit which has to be programmed.


Following is the ICSP connection details to connect to different PIC microcontrollers.

Once the ICSP headers are connected to the PIC in circuit you can Write the program from the programmer software to the PIC.

More on programming the PIC in later posts...

No comments:

Post a Comment