There are three methods
- Using MPLAB x
Using PICkit 2 Software v2.61.00
Software download link The download link include:-PICkit 2 v2.50.02 Software-PICkit 2 v2.61 Software-PICkit 2 User's Guide -PICkit 2 Programmer-To-Go User Guide-PICkit 2 Command line software V1.10-PICkit 2 Firmware V2.31. This method teaches you to how to program the PIC using PICkit 2 v2.61.00. To begin with Download & Install.Initially connect the PICkit 2 to PC and PIC using proper connectors.Open PICkit 2 software. Automatically detect the device. Import Hex file from containing folder ( File→Import Hex→Open Hex File ). Write the Hex code to PIC using. Microchip Technology, Inc. PICkit 2 Interface Guide Page 1 of 36 PICkit 2 Interface Guide PC Application v2.61 OS Firmware v2.32 Document #: Title: PICkit 2 Interface Guide Subtitle: Matches Firmware Version 2.32.00, and software V2.6100 Date: March 23, 2009 Description.
This method teaches you to how to program the PIC using PICkit 2 v2.61.00. To begin with Download & Install.Initially connect the PICkit 2 to PC and PIC using proper connectors.Open PICkit 2 software. Automatically detect the device. Import Hex file from containing folder ( File→Import Hex→Open Hex File ). Write the Hex code to PIC using WRITE Button. Verify the previous operation using VERIFY Button
Using MPLAB IDE
Pickit2 V2 61 Software Download
This method teaches you to how to program the PIC using MPLAB IDE. To begin with Download & Install MPLAB IDE from Microchip. Initially connect the PICkit 2 to PC and PIC using proper connectors.Open MPLAB, select PICkit 2 (programmer → select programmer → PICkit 2 ), after PICkit 2 is Ready import the Hex file and Finally write the Hex file to target device (programmer → program)