background image

                                                                                                                                       

8051 ISP by COM Port

 

 

 

©2010 Nuvoton Technology Corporation. All Rights Reserved. 

                                                                                         < Revision 5.02 >         5 

 

2.1   With an RS232 Transceiver in the Target System 

 
In this design, each target system has an RS232 transceiver (e.g. MAX232) inside, and so only one RS232 cable is 
needed during the ISP operation, as shown below. 
 

 

Note 2:
For "With Reset Control" configuration, Q1, R3 and R4 are needed.
For "Without Reset Control" configuration, Q1, R3 and R4 are not needed.

C3

10p

PC

C6
1u/16V

VCC

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

GN

D

VC

C

RTS

Note 1:
The I/O pins used for booting from LDROM may be P2.6&P2.7, P4.3, P3.6&P3.7, P4.0 or none.
(See the above table.)

P2.7

RST

VCC

RST

R4

10K

RS232
Transceiver

RS232
Connector

P3.0(RXD)

U1

RXD

TXD

Target System

R2

10K

X1
Fosc

RD

TD

DCD

P2.6

P3.1(TXD)

R3
4.7K

C2

10p

UA RT
In te rfa ce

8051 MCU

GND

CTS

P1

Male DB9

5
9
4
8
3
7
2
6
1

RI

GND

To   b o o t  fro m  L DRO M.
(S e e   No te   1 )

C1

2u

R1
47K

TXD

C4
1u/16V

C5
1u/16V

/EA

XTAL1

VCC

VCC

RS232 Cable

Q1
2N3906

XTAL2

C7
1u/16V

Fo r re se t co n tro l .
(S e e   No te   2 )

DSR

(with RS232 Transceiver)

DTR

 

 

Содержание 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...

Отзывы: