Bootloader
Bootloader
Bootloader
1. Load the MCU with the appropriate HEX file using the conventional programming techniques. 2. Start mikroBootloader from the drop-down menu Tools Bootoader. 3. Click on Change Settings and select the COM port and the BAUD that will be used.
1|Page
4. Click on Connect and wait until connected. Since the bootcode in the MCU only gives the computer 4-5 sec to connect, you should reset the MCU and then click on the Connect button within 4-5 seconds. 5. Click on Browse for HEX and select the HEX file you would like to upload. 6. The last line in then history window should now read Connected. 7. To start the upload, just click on the Begin uploading button. 8. Your program will written to the MCU. Bootloader will report an errors that may occur. 9. Reset your MCU and start to execute. Important : In your MikroC program main function should defined with org keyword as below. Otherwise bootloader will erase the Bootloader HEX Firmware. void main() org 0x0200{ }
2|Page