
All of the tutorials that you will be learning will utilise the pic16f628a or pic16f648a microcontroller. One of the first things you will want to look at is the instruction set. It was a bit of work finding everything so I thought it would be a great idea to pass on some knowledge through this set of tutorials. When I first started out in programming microcontrollers, I searched all around the internet finding as much info and tutorials as I could.

We will be programming using assembly language for a number of reasons: This set of tutorials is based around the ever popular PIC16F628A and PIC16F648A microcontrollers. Normally all the pic microcontrollers have icsp pins located on the pin numbers given below.Welcome to the first instalment of the PIC assembly tutorials. See the datasheet of your pic microcontroller to Identify these pins and then connect the signals from PicKit2 to these pins. To program a pic microcontroller one have to Identify the upper 5 pins on his pic microcontroller and then make connections with the pickit 2 icsp header. Pickit 2 requires the following pic microcontroller pins to program it. Now one can reverse the pickit 2 circuit can make pickit 2 programmer at home as a diy project. Thanks to microchip that they released the pic18f2550 program software. Pic18f2550 communicates with the computer software using its usb interface and talks with the target microcontroller using its icsp interface. Pickit 2 uses an on board pic18f2550 microcontroller that programs the target microcontroller.

An icsp programmer uses 5 pins to program the target microcontroller. In icsp interface, microcontroller can be programmed while its working in the circuit. Pickit 2 is an ICSP (In-circuit serial programmer) programmer.

PicKit2 supports almost all Pic-10/12/16/18/24 and dspic-30/33 flash series microcontroller’s. PicKit2 supports many 8-bit pic microcontroller series. PicKit2 is a programmer designed by Microchip to program its pic microcontrollers.
