Line 71: Line 71:
 
{{Box|type=blue_dark|text=Downloads}}
 
{{Box|type=blue_dark|text=Downloads}}
 
{{Box|type=l_green_light|text=<br />
 
{{Box|type=l_green_light|text=<br />
*[http://xplorelabz.com/wiki/images/8/87/PIC_Starter_USB_SampleCode.rar Sample Code]
+
* [https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip  '''PICKit 2 Programmer''']  
*[http://xplorelabz.com/wiki/images/a/a5/PIC_Starter_USB_Schematic.pdf Schematic]
+
*[http://exploreembedded.com/wiki/File:Ds30LoaderGui.zip  '''DS30 bootloader gui''']
 +
*[https://www.exploreembedded.com/wiki/File:DS_30_16F877A.rar  '''DS30 bootloader HEX Files''']  
 
}}
 
}}
 
{{DISQUS}}
 
{{DISQUS}}

Revision as of 14:07, 7 August 2015

Sharana (talk) 13:47, 7 August 2015 (IST)



Flashing the bootloader

Download and install the PICKit 2 Programmer.

Connect the board with programmer as shown in the image
DSC04008.JPG DSC04013.JPG


Open the PICkit 2 Programmer Click on Tools and Click on Check Communication
Capture.PNG


If connections are fine, Controller and Programmer will detect
Capture5.PNG


Click on File and Import the Downloaded HEX file
Capture2.PNG


HEX File is Imported sucessfully
Capture6.PNG


Click on Write
Capture7.PNG



Flashing the Hex file using ds30 bootloader

STEP 1: Download and install the DS30 bootloader gui.


Connect the board with USB to Serial shield and connect jumper as shown in images
Capture9.PNG Capture8.PNG Step 2: Setup Parameters

  • Browse the hex file
  • Select the appropriate MCU
  • Select the baud rate as 9600
  • Select the correct com port detected on your computer, when using USB to serial convertor check for exact COM port number in device manager

Step 3: The board uses DTR pin of the CP2102 USB to Serial Convertor to reset the MCU. Set it up as shown in the image below.

Setup AutoReset

Step 4: Click on the write option to flash the hex file,. Images below show the sequence.

<hovergallery maxhoverwidth=600 maxhoverheight=600> File:DS30 Step2.PNG


Downloads