Nuvoton 8051 ISP Скачать руководство пользователя страница 4

                                                                                                                                       

8051 ISP by COM Port

 

 

 

1   Introduction 

 

ISP

 is the acronym of 

I

n-

S

ystem 

P

rogramming, which makes it possible that the user can update the program 

memory under the software control without removing the mounted MCU chip from the actual end product. For the 
8051 MCU products, we provide an ISP solution through the PC’s COM port. As long as the 

Nuvoton standard ISP 

code

 is pre-programmed in the MCU’s LDROM, the user can easily update the MCU’s APROM through the PC’s 

COM port. 

 

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.

 

2   Hardware 

 
To make the 8051 MCU boot from LDROM after reset to run the ISP code, some specific I/O pins need to be tied to 
ground and the CONFIG needs to be properly configured. The following table shows the specific I/O pins and the 
proper CONFIG setting used for booting from LDROM after reset. In addition, to directly connect to PC’s COM port, 
there needs an RS232 transceiver (e.g. MAX232) in the target system. The following sub-sections will show the 
hardware connection. 
 
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 

W78E(I)051D 
W78E(I)052D 
W78E(I)054D 

(Not Need) 

“CBS” 

Selected as LDROM 

(Boot from LDROM) 

P2.6 & P2.7 (for 40-pin package)

(Not Need) 

W78E(I)058D 
W78E(I)516D 
W78E(L)365A 
W78E065A 
W78E858A 

P4.3 (for 44-pin package) 

(Not Need) 

P2.6 & P2.7 (for 40-pin package)

“Reboot P2.6/P2.7” 

Enabled 

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 

P3.6 & P3.7 (for 44-pin package)

“Reboot P3.6/P3.7” 

Enabled 

W79E217A 
W79E225A 
W79E226A 
W79E227A 

P4.3 (for 48/100-pin package) 

“Reboot P4.3” 

Enabled 

W79E201A P4.0 

“Reboot P4.0” 

Enabled 

W925EP01 P4.7 

“Reboot P4.7” 

Enabled 

N78E366A 
N78E055A 
N78E059A 
N78E517A 

(Not Need) 

“CBS” 

Selected as LDROM 

(Boot from LDROM) 

 

©2010 Nuvoton Technology Corporation. All Rights Reserved. 

                                                                                         < Revision 5.02 >         4 

Содержание 8051 ISP

Страница 1: ...8051 ISP by COM Port Nuvoton 8051 ISP by COM Port User Manual Revision 5 02 2010 11 15 2010 Nuvoton Technology Corporation All Rights Reserved Revision 5 02 1...

Страница 2: ...System 6 2 3 Requirement on the MCU s Operating Frequency 7 3 Software 8 3 1 Install the Application Program 8 3 2 Introduction to the Application Program 8 3 3 Auto Synchronization of APROM DataFlas...

Страница 3: ...4 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 Add a...

Страница 4: ...the CONFIG needs to be properly configured The following table shows the specific I O pins and the proper CONFIG setting used for booting from LDROM after reset In addition to directly connect to PC...

Страница 5: ...C RXD COM Port VCC U2 MAX232 1 3 4 5 11 10 12 9 2 6 14 7 13 8 15 16 C1 C1 C2 C2 T1_IN T2_IN R1_OUT R2_OUT V V T1_OUT T2_OUT R1_IN R2_IN GND VCC RTS Note 1 The I O pins used for booting from LDROM may...

Страница 6: ..._IN R1_OUT R2_OUT V V T1_OUT T2_OUT R1_IN R2_IN GND VCC C6 1u 16V DSR C4 1u 16V CTS without RS232 Transceiver R1 47K RXD GND R2 10K UART Interface Pulledlow PC RST R3 4 7K GND To boot from LDROM See N...

Страница 7: ...MCU will automatically build a proper baudrate according to its operating frequency It is recommended that the user uses the following specific frequencies 11 0592MHz 18 432MHz 22 1184MHz or 36 864MH...

Страница 8: ...find the item Nuvoton Tools ISP ICP Utility v appearing in the Windows START menu after the application program is successfully installed Note ISP ICP means this application program is used for both...

Страница 9: ...when the function button Update Chip is clicked as shown below So the user needn t manually reload the files for APROM buffer and DataFlash buffer when the physical files are updated externally Physi...

Страница 10: ...t system to PC s COM port through an RS232 cable Step 2 Run the PC site AP select wanted part no select correct COM port to which the target system is connected and load the code data file into APROM...

Страница 11: ...hould adopt the Without Reset Control configuration for ISP operation External RC Reset Circuit The general external RC reset circuit is shown in Figure 4a The resistance of R should be larger than 47...

Отзывы: