Line 6: Line 6:
 
===Basic Connections===
 
===Basic Connections===
 
You basically need a USB to UART board and target MCU with pins taken out. Remember some of our boards are shipped with the serial adapter board. If you do not have one, you may purchase the nice little board below:
 
You basically need a USB to UART board and target MCU with pins taken out. Remember some of our boards are shipped with the serial adapter board. If you do not have one, you may purchase the nice little board below:
[[File:www.exploreembedded.com/blog/wp-content/uploads/img-collections/explore-usb-to-serial-breakout/1-dsc03963.jpg]]
 
  
 +
<html>
 +
<a href="https://www.exploreembedded.com/product/Explore%20USB%20to%20Serial%20breakout%20(CP2102).">
 +
 +
<img src ="https://www.exploreembedded.com/blog/wp-content/uploads/img-collections/explore-usb-to-serial-breakout/1-dsc03963.jpg" width = "300px">
 +
</html>
  
 
[[File:Capture9.PNG |x300px]]
 
[[File:Capture9.PNG |x300px]]

Revision as of 10:54, 10 August 2015

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


We ship ds30 PIC bootloader with various PIC micro-controllers. This quick tutorial explains how to use the bootloader to program the board.

Hardware Setup

Basic Connections

You basically need a USB to UART board and target MCU with pins taken out. Remember some of our boards are shipped with the serial adapter board. If you do not have one, you may purchase the nice little board below:

Capture9.PNG Capture8.PNG

Software Setup and usage

Download and install the DS30 bootloader gui. 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.

Resources and Downloads