Line 3: Line 3:
 
[[Category:PIC Development Boards]]
 
[[Category:PIC Development Boards]]
  
{{Box|type=blue_dark|text=
 
Flashing the bootloader
 
}}
 
[https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip  '''Download'''] and install the PICKit 2 Programmer.
 
{{Box|type=blue_dark|text=
 
Connect the board with programmer as shown in the image
 
}}
 
[[File:DSC04008.JPG |x300px]]
 
[[File:DSC04013.JPG |x300px]]
 
  
{{Box|type=blue_dark|text=
+
==Flashing the bootloader==
Open the PICkit 2 Programmer Click on '''Tools''' and Click on '''Check Communication'''
+
}}
+
[[File:Capture.PNG |x700px]]
+
  
{{Box|type=blue_dark|text=
+
[https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip  '''Download'''] and install the PICKit 2 Programmer.
If connections are fine, Controller and Programmer will detect
+
}}
+
[[File:Capture5.PNG|x700px]]
+
  
{{Box|type=blue_dark|text=
 
Click on File and Import the Downloaded HEX file
 
}}
 
[[File:Capture2.PNG|x700px]]
 
  
{{Box|type=blue_dark|text=
+
[[File:DSC04008.JPG |x300px]]
HEX File is Imported sucessfully
+
[[File:DSC04013.JPG |x300px]]
}}
+
 
[[File:Capture6.PNG |x700px]]
+
  
{{Box|type=blue_dark|text=
 
Click on Write
 
}}
 
[[File:Capture7.PNG |x700px]]
 
  
 +
<gallery mode = "packed">
 +
File:Capture.PNG
 +
File:Capture5.PNG
 +
File:Capture2.PNG
 +
File:Capture6.PNG
 +
File:Capture7.PNG
 +
</gallery>
  
  

Revision as of 16:12, 7 August 2015

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



Flashing the bootloader

Download and install the PICKit 2 Programmer.


DSC04008.JPG DSC04013.JPG



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