8051 ISP Programmer
Nuvoton
8051 ISP Programmer
User Manual
Revision 5.02, 2010/11/15
©2010 Nuvoton Technology Corporation. All Rights Reserved < Revision 5.02 > 1
8051 ISP Programmer
Contents
Revision History .......................................................................................................3
1 Introduction .........................................................................................................4
2 Hardware.............................................................................................................5
2.1 Type-1 Connection (No I/O Pins Used for Booting from LDROM) .................................................6
2.2 Type-2 Connection (P2.6 & P2.7 Used for Booting from LDROM) ................................................7
2.3 Type-3 Connection (P4.3 Used for Booting from LDROM) ............................................................8
2.4 Type-4 Connection (P3.6 & P3.7 Used for Booting from LDROM) ................................................9
2.5 Type-5 Connection (P4.0 Used for Booting from LDROM) ..........................................................10
2.6 Type-6 Connection (P4.7 Used for Booting from LDROM) ..........................................................11
2.7 Requirement on the XTAL Frequency..........................................................................................12
3 Software............................................................................................................13
3.1 Install the Driver ...........................................................................................................................13
3.2 Install the Application Program ....................................................................................................13
3.2.1 Main GUI for the Application Program ................................................................................................13
3.2.2 GUI for ‘CONFIG Setting’....................................................................................................................14
3.2.3 GUI for ‘Programmer Information’.......................................................................................................15
3.3 Auto Synchronization of APROM/DataFlash Buffer .....................................................................16
4 Operation Modes...............................................................................................17
4.1 On-line Mode................................................................................................................................17
4.2 Download Programmer Mode ......................................................................................................17
4.3 Off-line Mode................................................................................................................................18
5 Reset Control ....................................................................................................19
5.1 With Reset Control .......................................................................................................................20
5.2 Without Reset Control ..................................................................................................................20
6 Notes for the ISP Function................................................................................21
6.1 Requirement on P3.1 ...................................................................................................................21
6.2 About the ISP Code .....................................................................................................................21
6.3 Compared with the ‘ICP’ ..............................................................................................................22
©2010 Nuvoton Technology Corporation. All Rights Reserved < Revision 5.02 > 2
8051 ISP Programmer
Revision History
Revision Description Date
v1.00 The first formal released version. 2009/07/08
v2.00
(1) Re-organize the function buttons on the GUI. The function of “Auto” is combined
with “Update 8051”.
(2) The data in Code Buffer are refreshed when the button “Update 8051” or “Verify
8051” is clicked.
2009/09/03
v2.01
(1) Update the picture of the ISP Programmer. (Section 1)
(2) Change the display of part numbers W78E051D, W78E052D and W78E054D to
W78E(I)051D, W78E(I)052D and W78E(I)054D, respectively.
(3) Fix a minor bug in Nuvoton standard ISP code. (The version is changed to v0201.)
2009/09/22
v3.00 Add new parts: W925EP01, N78E366A, N78E055A, N78E059A and N78E517A 2010/02/10
v4.00 Update the PC-site AP version to v4.00. 2010/04/01
v4.01
(1) Fix a minor bug in Nuvoton standard ISP code for W925EP01, N78E366A,
N78E055A, N78E059A and N78E517A. (The version is updated to v3.12.)
(2) Update the PC-site AP version to v4.01.
2010/06/15
v5.00
(1) Improve data security of the Nuvoton standard ISP code for N78E366A, N78E055A,
N78E059A and N78E517A. (The version is updated to v3.13.)
(2) Update the connection diagrams of Type-1~6. (Section 2.1~2.6)
(3) Add new sections. (Section 2.7, Section 6.2 and Section 6.3)
(4) Update the PC-site AP to v5.00. (The GUI display for "CONFIG Setting" becomes
more user-friendly.)
2010/08/13
v5.02
(1) Fix the HEX-to-BIN conversion error when the hex input file has a binary code size
more than 64K. (The application program is updated to v5.02.)
(2) Modify all the ISP codes to prevent from hanging in LDROM during powered on in
an RS-485 application. (The version is updated to v3.20.)
2010/11/15
©2010 Nuvoton Technology Corporation. All Rights Reserved < Revision 5.02 > 3
8051 ISP Programmer
1 Introduction
ISP is the acronym of In-System Programming, which makes it possible that the user can update the MCU’s
program memory under the software control without removing the mounted MCU chip from the actual end product.
The USB-stick-like tool “8051 ISP Programmer”, as shown in the following picture, is used to perform the ISP
function when the MCU’s LDROM is pre-programmed with the Nuvoton Standard ISP Code and CONFIG bits are
properly configured. In addition, since this tool can save the programming data downloaded from the host, it is able
to perform the off-line operation. This feature is especially useful in the field without a host PC.
Note:
The ISP function can work only when the ISP code has resided in MCU’s LDROM. To let users easily use the ISP
function, some of the 8051 MCU products have the “Nuvoton Standard ISP Code” pre-programmed in LDROM and
CONFIG bits properly configured before shipping. Please contact Nuvoton for detailed product information. (The
“Nuvoton Standard ISP Code” is also included in the folder [(3) Nuvoton Standard ISP Code]. The user may program
it by himself using a universal programmer.)
Picture of the “8051 ISP Programmer”
The ISP Interface
PL: Pull-low control.
Some 8051 MCU parts need its special I/O pins to be tied to ground to boot from LDROM for ISP operation. Using
pull-low control can release these I/O pins for their normal function. In other words, these pins needn’t be tied to
ground in the target system but pulled low by the ISP Programmer for ISP operation.
RST: Reset control to the 8051 MCU.
The ISP Programmer will send reset signal to control the 8051 MCU for ISP operation.
VCC: Power supply from the target system. In off-line operation, the Programmer is powered by the target system.
DTA: Serial data to/from the 8051 MCU. (Single-wire Communication Interface)
GND: Ground.
©2010 Nuvoton Technology Corporation. All Rights Reserved < Revision 5.02 > 4
8051 ISP Programmer
2 Hardware
According to the I/O pins used for booting from LDROM after reset, there are several connection types between the
8051 MCU and the ISP Programmer, as shown in the following table. Some parts don’t need any I/O pins, but need
CONFIG to be properly configured, such as W78E(I)051D, W78E(I)052D and W78E(I)054D. Some parts need only
I/O pins, such as W78E(I)058D, W78E(I)516D, etc. Some parts need not only I/O pins but also CONFIG properly
configured, such W78E(I)RD2A, W77E(L)516A, etc. The following sub-sections will show the connection diagrams
for these connection types.
I/O Pins and CONFIG Bit for Booting from LDROM after Reset
Part No.
I/O Pins Tied to Ground for
Booting from LDROM
CONFIG Setting for
Booting from LDROM
Connection Type
W78E(I)051D
W78E(I)052D
W78E(I)054D
(Not Need)
“CBS”
Selected as LDROM
Type-1
P2.6 & P2.7 (for 40-pin package) (Not Need)
Type-2
W78E(I)058D
W78E(I)516D
W78E(L)365A
W78E065A
W78E858A
P4.3 (for 44-pin package) (Not Need)
Type-3
P2.6 & P2.7 (for 40-pin package)
“Reboot P2.6/P2.7”
Enabled
Type-2
W78E(I)RD2A
W77E(L)516A
W77E(L)532A
W79E(L)632A
W79E(L)633A
W79E(L)648A
W79E(L)649A
W79E(L)658A
W79E(L)659A
P4.3 (for 44/68/100-pin package)
“Reboot P4.3”
Enabled
Type-3
P3.6 & P3.7 (for 44-pin package)
“Reboot P3.6/P3.7”
Enabled
Type-4
W79E217A
W79E225A
W79E226A
W79E227A
P4.3 (for 48/100-pin package)
“Reboot P4.3”
Enabled
Type-3
W79E201A P4.0
“Reboot P4.0”
Enabled
Type-5
W925EP01 P4.7
“Reboot P4.7”
Enabled
Type-6
N78E366A
N78E055A
N78E059A
N78E517A
(Not Need)
“CBS”
Selected as LDROM
Type-1
©2010 Nuvoton Technology Corporation. All Rights Reserved < Revision 5.02 > 5