background image

                                                                                                                                       

8051 ISP by COM Port

 

 

 

©2010 Nuvoton Technology Corporation. All Rights Reserved. 

                                                                                         < Revision 5.02 >         6 

 

2.2   Without an RS232 Transceiver in the Target System

 

 
To save an RS232 transceiver (e.g. MAX232) built in each target system, the user may use the 

RS232 Cable 

Adaptor

 with an RS232 transceiver inside, as shown below. 

 

 

R5

100

RI

VCC

COM Port

DCD

(PL)

RD

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.)

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

C6
1u/16V

DSR

C4
1u/16V

CTS

(without RS232 Transceiver)

R1
47K

RXD

GND

R2

10K

UA RT
In te rfa ce

Pulled low

PC

RST

R3
4.7K

GND

To   b oo t  fro m  LDRO M.
(S e e No te  1 )

P2.7

C5
1u/16V

DTR

8051 MCU

C2

10p

P3.0

VCC

GND

GND

RST

RTS

Q1

2N3906

RS232
Connector

RST

P3.0(RXD)

C7
1u/16V

P2.6

C3

10p

P2.6

TD

TXD

XTAL2

Target System

U1

VCC

/EA

General
Connector

RST

TXD

VCC

P1

Male DB9

5
9
4
8
3
7
2
6
1

RST

P3.1

X1
Fosc

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

RS232 Cable Adaptor

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.

C1
2u

R4

10K

RS232
Transceiver

P2.6

P2.7

RS232 Cable

XTAL1

VCC

VCC

P3.1(TXD)

P2.7

RXD

VCC

 

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

Отзывы: