Line 4: Line 4:
  
  
==Flashing the bootloader==
+
==Flashing the Hex file using ds30 bootloader==
  
[https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip  '''Download'''] and install the PICKit 2 Programmer.
+
STEP 1: [http://exploreembedded.com/wiki/File:Ds30LoaderGui.zip  '''Download'''] and install the DS30 bootloader gui.
  
  
[[File:DSC04008.JPG |x300px]]
+
==Connect the board with USB to Serial shield and connect jumper as shown in images==
[[File:DSC04013.JPG |x300px]]
+
  
 
 
<gallery mode = "packed">
 
File:Capture.PNG
 
File:Capture5.PNG
 
File:Capture2.PNG
 
File:Capture6.PNG
 
File:Capture7.PNG
 
</gallery>
 
 
 
{{Box|type=blue_dark|text=
 
Flashing the Hex file using ds30 bootloader}}
 
{{Box|type=l_green_light|text=
 
STEP 1: [http://exploreembedded.com/wiki/File:Ds30LoaderGui.zip  '''Download'''] and install the DS30 bootloader gui.
 
 
{{Box|type=blue_dark|text=
 
Connect the board with USB to Serial shield and connect jumper as shown in images
 
}}
 
 
[[File:Capture9.PNG |x300px]]
 
[[File:Capture9.PNG |x300px]]
 
[[File:Capture8.PNG |x300px]]
 
[[File:Capture8.PNG |x300px]]
Line 46: Line 26:
 
Step 4: Click on the write option to flash the hex file,. Images below show the sequence.
 
Step 4: Click on the write option to flash the hex file,. Images below show the sequence.
  
<hovergallery maxhoverwidth=600 maxhoverheight=600>
+
<gallery mode = "packed-overlay">
 
File:DS30 Step2.PNG|...detects bootloader
 
File:DS30 Step2.PNG|...detects bootloader
 
File:DS30_Step3.PNG|...finishes flashing.
 
File:DS30_Step3.PNG|...finishes flashing.
</hovergallery>
+
</gallery>
}}
+
 
  
{{Box|type=blue_dark|text=Downloads}}
+
*[https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip  '''PICKit 2 Programmer''']  
{{Box|type=l_green_light|text=<br />
+
* [https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip  '''PICKit 2 Programmer''']  
+
 
*[http://exploreembedded.com/wiki/File:Ds30LoaderGui.zip  '''DS30 bootloader gui''']  
 
*[http://exploreembedded.com/wiki/File:Ds30LoaderGui.zip  '''DS30 bootloader gui''']  
 
*[https://www.exploreembedded.com/wiki/File:DS_30_16F877A.rar  '''DS30 bootloader HEX File''']  
 
*[https://www.exploreembedded.com/wiki/File:DS_30_16F877A.rar  '''DS30 bootloader HEX File''']  
}}
+
 
 
{{DISQUS}}
 
{{DISQUS}}

Revision as of 10:18, 10 August 2015

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



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.