Line 5: Line 5:
 
=Generating .hex File=
 
=Generating .hex File=
 
Check this tutorial for [[8051_Keil_Setup|generating the .hex file using keil]].<br>
 
Check this tutorial for [[8051_Keil_Setup|generating the .hex file using keil]].<br>
Check this tutorial for [[Cp2102 Usb-to-Serial Driver Installation|installing CP2102 drivers]].<br><br><br>
+
Check this tutorial for [[Cp2102 Usb-to-Serial Driver Installation|installing CP2102 Usb-to-Serial drivers]].<br><br><br>
  
 
=Nuvoton ISP-ICP Utility=
 
=Nuvoton ISP-ICP Utility=

Revision as of 14:10, 20 August 2016

In this tutorial we will be discussing how to upload the .hex files to nuvoTon chip for 8051 Starter board.
For flashing the hex files, we will be using the Nuvoton ISP-ICP Utility software.


Generating .hex File

Check this tutorial for generating the .hex file using keil.
Check this tutorial for installing CP2102 Usb-to-Serial drivers.


Nuvoton ISP-ICP Utility

The nuvoTon w78E052D controller comes with UART boot-loader and can be directly programmed from serial port. In this tutorial series we are using "Nuvoton ISP-ICP Utility software" to program the target MCU. Download Nuvoton ISP-ICP Utility software.

Now open the Nuvoton ISP-ICP Utility software and follow the below steps.

  1. Select the ISP by COM port option for flashing the .hex file through COM port.
  2. Select the COM port from the drop down. Check device manager for the com port number.
  3. Choose the required controller. In this case it is W78E052D.
  4. Browse and select the .hex file by clicking on Load File.
  5. Finally click on Update chip to flash the .hex file.

8051 ISP.png


Below screen shot shows the flashing status in blue color progress bar.
Nuvoton02.png



A popup will appear after successful flashing of hex file.

  • Note:The Nuvoton ISP Utility holds the reset line of the controller and does not allow it to run until OK is pressed. After which the controller starts running the code.

Nuvoton03.png

Have a opinion, suggestion , question or feedback about the article let it out here!