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.

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