(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:Starter 8051]]
 
[[Category:Starter 8051]]
In this tutorial we will be discussing how to upload the .hex  files to nuvoTon chip for 8051 Starter board.<br>
+
In this tutorial, we will be discussing how to upload the .hex  files to nuvoTon chip for 8051 Starter board.<br>
 
For flashing the hex files, we will be using the Nuvoton ISP-ICP Utility software.<br><br><br>
 
For flashing the hex files, we will be using the Nuvoton ISP-ICP Utility software.<br><br><br>
  
=Generating .hex File=
+
=Usb To Serial Driver Installation=
Check the tutoial  for generating the .hex file using keil.<br><br><br>
+
Check this tutorial for [[Cp2102 Usb-to-Serial Driver Installation|installing CP2102 Usb-to-Serial drivers]].<br><br><br>
  
=.Hex Using Nuvoton ISP-ICP Utility=
+
=Nuvoton ISP-ICP Utility=
The nuvoTon w78E052D  controllers is come with a UART boot-loader from the factory.
+
The nuvoTon w78E052D  controller comes with UART boot-loader and can be directly programmed from the serial port.
 +
In this tutorial series, we are using "Nuvoton ISP-ICP Utility software"  to program the target MCU. Download [http://www.nuvoton.com/hq/resource-download.jsp?tp_GUID=SW0320120105135349 Nuvoton ISP-ICP Utility software].
 
<br><br>
 
<br><br>
 
Now open the Nuvoton ISP-ICP Utility software and follow the below steps.
 
Now open the Nuvoton ISP-ICP Utility software and follow the below steps.
#Select the IC from Part number drop down list.
+
#Select the ISP by COM port option for flashing the .hex file through COM port.
#Check the ISP by COM Port.
+
#Select the COM port from the drop down. Check device manager for the com port number.
#Check the memory as APROM.
+
#Choose the required controller. In this case, it is W78E052D.
#Brows the hex file by clicking on Load File.
+
#Browse and select the .hex file by clicking on Load File.
#Click on Update Chip to burn the hex file into the chip.  
+
#Finally click on Update chip to flash the .hex file.<br>
#Once program successfully burnt it will pop the dialogue box as PASS.
+
[[File:8051 ISP.png]]<br><br>
<br><br>
+
 
 +
 
 +
Below screen shot shows the flashing status in blue color progress bar.<br>
 +
[[File:Nuvoton02.png]]
 +
<br><br><br>
  
[[File:8051 ISP.png|none]]
 
  
 +
A popup will appear after successful flashing of hex file.
 +
*Note:<font color="red">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.</font><br>
 +
[[File:Nuvoton03.png]]
  
Have a opinion, suggestion , question or feedback about the article let it out here!
+
Have an opinion, suggestion , question or feedback about the article let it out here!
 
{{DISQUS}}
 
{{DISQUS}}

Latest revision as of 10:11, 2 September 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.


Usb To Serial Driver Installation

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 the 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 an opinion, suggestion , question or feedback about the article let it out here!