Difference between revisions of "Flashing the Hex file using ds30 bootloader"
Line 2: | Line 2: | ||
---- | ---- | ||
[[Category:PIC Tutorials]] | [[Category:PIC Tutorials]] | ||
+ | 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: | ||
+ | [[File:https://www.exploreembedded.com/blog/wp-content/uploads/img-collections/explore-usb-to-serial-breakout/1-dsc03963.jpg]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[File:Capture9.PNG |x300px]] | [[File:Capture9.PNG |x300px]] | ||
[[File:Capture8.PNG |x300px]] | [[File:Capture8.PNG |x300px]] | ||
− | + | ==Software Setup and usage== | |
+ | [http://exploreembedded.com/wiki/File:Ds30LoaderGui.zip '''Download'''] and install the DS30 bootloader gui. | ||
[[File:DS30 Step0.PNG|x400px|Setup Parameters]] | [[File:DS30 Step0.PNG|x400px|Setup Parameters]] | ||
*Browse the hex file | *Browse the hex file | ||
Line 31: | Line 30: | ||
</gallery> | </gallery> | ||
− | + | ==Resources and Downloads== | |
*[https://www.exploreembedded.com/wiki/images/1/14/PICkit2.zip '''PICKit 2 Programmer'''] | *[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'''] |
Revision as of 10:38, 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.
Contents
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: File:Https://www.exploreembedded.com/blog/wp-content/uploads/img-collections/explore-usb-to-serial-breakout/1-dsc03963.jpg
Software Setup and usage
Download and install the DS30 bootloader gui.
- 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.
Step 4: Click on the write option to flash the hex file,. Images below show the sequence.