
NUVOTON 8051 KEIL DRIVER USER MANUAL
Dec 8, 2016 Page 1 of 28 Revision 2.00
NUVOTON 8051 KEIL DRIVER USER MANUAL
8-bit Microcontroller
8051 Family
KEIL
TM
µVision
®
Driver
User Manual
The information described in this document is the exclusive intellectual property of
Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.
Nuvoton is providing this document only for reference purposes of NuMicro microcontroller based system
design. Nuvoton assumes no responsibility for errors or omissions.
All data and specifications are subject to change without notice.
For additional information or questions, please contact: Nuvoton Technology Corporation.
www.nuvoton.com

NUVOTON 8051 KEIL DRIVER USER MANUAL
Dec 8, 2016 Page 2 of 28 Revision 2.00
NUVOTON 8051 KEIL DRIVER USER MANUAL
Table of Contents
1 Overview ............................................................................................. 3
2 System Requirements ............................................................................. 4
3 Install Nuvoton 8051 KEIL
TM
µVision® Driver ................................................. 5
4 Start to Work with µVision® Interface ........................................................... 6
Creating a New Project ............................................................................... 6 4.1
Setting Debug Options ................................................................................ 9 4.2
5 Use the Debug Features ........................................................................ 11
Debugging a New Project ........................................................................... 11 5.1
Updating CONFIG .................................................................................... 17 5.2
Read or Write SFR ................................................................................... 19 5.3
Read or Write Direct RAM ........................................................................... 20 5.4
Read or Write Indirect RAM ......................................................................... 20 5.5
Read or Write XRAM ................................................................................. 22 5.6
Read Code (N76E003 / N76E885 / N76E616 Only) ............................................ 23 5.7
6 Project Working Flow ............................................................................ 24
Program Code Download Flow ..................................................................... 24 6.1
Program Code Debug Flow ......................................................................... 24 6.2
7 Check Version .................................................................................... 25
Nu-Link-Me Bridge Firmware Version ............................................................. 25 7.1
Appendix Limitations of KEIL
TM
C51 Evaluation Edition ........................................ 26 7.2
8 REVISION HISTORY ............................................................................ 27

NUVOTON 8051 KEIL DRIVER USER MANUAL
Dec 8, 2016 Page 3 of 28 Revision 2.00
NUVOTON 8051 KEIL DRIVER USER MANUAL
1 OVERVIEW
The Nuvoton 8051 KEIL
TM
µVision
®
Driver allows the KEIL
TM
µVision
®
2, µVision
®
3,
µVision
®
4 or µVision
®
5 IDE to communicate with Nuvoton in-circuit-emulation (ICE)
or on-chip-debug (OCD) device. The µVision IDE can start and stop program
execution, set breakpoints, check variables, inspect and modify memory contents,
and perform single-step through programs running on your actual target hardware.
This document describes how to install and use Nuvoton 8051 KEIL
TM
µVision
®
Driver with programs written by the KEIL
TM
C51/A51 compiler.
After installing the Nuvoton 8051 KEIL
TM
µVision
®
Driver after Rev. 1.06, it
additionally provides Nuvoton own CPU database “Nuvoton 8051 Devices”. It
collects all Nuvoton 8051 MCU and benefits user easily building KEIL
TM
µVision
®
project. For N76E885 and N76E616, the N76E885.h and N76E616.h file is also
installed in KEIL
TM
general library. User can include it directly by writing e.g.
“#include < N76E885.h file >” without caring of its file location.

NUVOTON 8051 KEIL DRIVER USER MANUAL
Dec 8, 2016 Page 4 of 28 Revision 2.00
NUVOTON 8051 KEIL DRIVER USER MANUAL
2 SYSTEM REQUIREMENTS
Software: KEIL
TM
µVision
®
2, µVision
®
3, µVision
®
4 or µVision
®
5.
Hardware: Support evaluation board with Nu-Link-Me interface.
The Nuvoton 8051 KEIL
TM
µVision
®
Driver can support chips as listed in Table 2-1.
LPC 1T 8051 Product Line
N76E003 series
N76E003AT20, N76E003AQ20
N76E616 series
N76E616AL48
N76E885 series
N76E885AT28, N76E885AT20, N76E885AQ20
LPC 4T 8051 Product Line
N79E85J
N79E715AT28, N79E715AT20, N79E715AS28, N79E715AS20,
N79E715AS16, N79E855AWG, N79E854AWG, N79E845AWG,
N79E844AWG, N79E8432ASG, N79E815AT28, N79E815AT20,
N79E814AT28, N79E814AT20 , N79E8132AS16
Table 2-1 Supported Chips

NUVOTON 8051 KEIL DRIVER USER MANUAL
Dec 8, 2016 Page 5 of 28 Revision 2.00
NUVOTON 8051 KEIL DRIVER USER MANUAL
3 INSTALL NUVOTON 8051 KEIL
TM
µVISION® DRIVER
A complete set of files needed to run the Nuvoton 8051 KEIL
TM
µVision
®
Driver
inside the µVision
®
2, µVision
®
3, µVision
®
4 or µVision
®
5 interface is contained in the
package.
All steps are performed automatically by setup program. Please follow the steps
below:
Install µVision
®
and the C51/A51 Compiler on your computer.
Run Nuvoton_8051_Keil_uVision_Driver_v2.00.6561.exe, and then select
the <KEIL install path>. The new files will appear inside <KEIL install
path>\C51\BIN\
Nuvoton_8051_KeiL_uVision_Driver.DLL.
评论3