Line 9: Line 9:
  
 
=Pickit 2 Software Setup=
 
=Pickit 2 Software Setup=
<b>Step1:</b> Once we download the PICKit programmer Software, start the PICkit 2 Software by selecting Start>Programs>Microchip>PICkit 2. When the PICkit 2 Programmer application is first opened, it will attempt to identify the connected device by the device ID and display it in the Configuration window. In our case it is showing PICkit 2 not found because PICkit 2 is not connected to target device yet.  Refer below image. <br>
+
<b>Step1:</b>  
[[File:PICkit 2 not found.png|none]]<br><br>
+
Connect the Pickit2 programmer to target board as shown below. <b>Ensure the Boot Jumper is disconnected</b>.
 
+
 
+
<b>Step2:</b>  
+
Connect the Pickit2 programmer to target board as shown below. Ensure the pic programmer is connected to your PC/Laptop.
+
 
[[File:PICkit2andstater.jpeg#sthash.oRFNF44v.dpuf|none]]<br><br>
 
[[File:PICkit2andstater.jpeg#sthash.oRFNF44v.dpuf|none]]<br><br>
  
  
<b>Step3:</b>
+
<b>Step2:</b>
Run the Pickit2 application and check the device communication.<br>
+
Run the Pickit2 application and check the device communication as shown below.<br>  
Go to Tools tab click on the Check communication.
+
 
[[File:PICkit2 check communication.png|none]] <br><br>
 
[[File:PICkit2 check communication.png|none]] <br><br>
  
 +
<b>Step3:</b>
 
Now status window should show  PICkit 2 connected, with proper device(PIC16F877A), else double check the connections and try again<br><br>
 
Now status window should show  PICkit 2 connected, with proper device(PIC16F877A), else double check the connections and try again<br><br>
 
* Refer the below labeled image of PICkit 2  programmer application software.
 
* Refer the below labeled image of PICkit 2  programmer application software.
Line 28: Line 24:
  
  
<b>Step4:</b>
+
<b>Step2:</b>
 
Import the .hex file from the menu File->Import Hex as shown below.
 
Import the .hex file from the menu File->Import Hex as shown below.
 
[[File:PICkit 2 import hex file.png|none]]<br><br>
 
[[File:PICkit 2 import hex file.png|none]]<br><br>

Revision as of 14:01, 3 May 2016

In this tutorial we will see how to upload hex file using the below PICKit 2 programmer.

PICKIT 2 programmer.png


Installing Pickit 2 Software

Download and Install the Pickit2 software from the below link

Pickit 2 Software Setup

Step1: Connect the Pickit2 programmer to target board as shown below. Ensure the Boot Jumper is disconnected.

PICkit2andstater.jpeg



Step2: Run the Pickit2 application and check the device communication as shown below.

PICkit2 check communication.png


Step3: Now status window should show PICkit 2 connected, with proper device(PIC16F877A), else double check the connections and try again

  • Refer the below labeled image of PICkit 2 programmer application software.
PICKit2 application software.png



Step2: Import the .hex file from the menu File->Import Hex as shown below.

PICkit 2 import hex file.png



Step5: The Configuration bits should be set to 0x3F3A. Now click on Write to upload the hex file to target device.
Status window will show the uploading status.

0PICkit2 succesful.png