background image

Uploading a Hex File

Run Procomm Plus and use the proper dialing directory
entry to dial the remote station.

After the connection with the remote station is estab-
lished, press the ’PgUp’ key and select ’1’ (External Pro-
tocol 1) from the menu of upload protocols. This will exe-
cute the ASPECT script associated with External Protocol
1.

When prompted, enter the name of the file to be uploaded,
including the extension and path, if required.

When the upload is complete, press ALT-H to hang up
and ALT-X to exit Procomm Plus and return to DOS.

D0
D1
D2
D3
D4
D5
D6

A0
A1

WR

DL1414T

U2

8
9

10
11

2
1

12

5
4

D0
D1
D2
D3
D4
D5
D6

A0
A1

WR

DL1414T

U3

8
9

10
11

2
1

12

5
4

P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7

D0
D1
D2
D3
D4
D5
D6

A0
A1

WR

DL1414T

U4

8
9

10
11

2
1

12

5
4

D0
D1
D2
D3
D4
D5
D6

A0
A1

WR

DL1414T

U5

8
9

10
11

2
1

12

5
4

21
22
23
24
25
26
27
28

P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7

39
38
37
36
35
34
33
32

PSEN

ALE/PROG

P3.6/WR

P3.7/RD

29
30

16
17

AT89C51

P3.0/RXD
P3.1/TXD
P3.2/INT0
P3.3/INT1
P3.4/T0
P3.5/T1

P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7

1
2
3
4
5
6
7
8

8
7
6
5

1
2
3
4

10
11
12
13
14
15

U1

EA/VPP

X1

X2

RST

31

19

18

9

C3

30 pF

C2

30 pF

R1
8.2 K

C1
10 uF

VCC

Note: 0.1 uF bypass caps on all ICs.

SW DIP-4

S1

3

3

3

3

+

Y1
6 MHz

Figure 1.  AT89C51 Moving Display Application Example

4-14

Microcontroller

Содержание AT89C51

Страница 1: ...not be driven during normal operation ALE PROG is pulsed low during pro gramming but must not be driven during normal operation During programming AT89C51 I O ports are used for the application of mode select addresses and data pos sibly requiring that the controller be iso lated from the application circuitry How this is done is application dependent and will be addressed here only in gen eral te...

Страница 2: ... and pro gram verification the programmer asserts control of port zero and part of port two The programmer is connected to ports zero and two without buffering since when inac tive its presence does not affect the normal operation of the application A transparent latch has been added between port two of the controller and the display control inputs The latch holds the display control signals inact...

Страница 3: ...rammer might respond to a packet by sending a CAN which indicates that a non recoverable error has oc curred and that the transmitter should immediately abort the file transfer If the programmer fails to respond to a packet within a limited period of time the transmitter will resend the same packet The transmitter will continue to resend the same packet until a valid response is received or until ...

Страница 4: ...ng for the next call If the caller hangs up the thirty second period must expire before another call will be answered Calls incoming dur ing the reset delay period are ignored If a valid packet header is received prior to the expiration of the reset delay period the programmer will attempt to read and validate the incoming packet At any time during packet reception an invalid character parity erro...

Страница 5: ...em to an analog telephone line and set the modem switches as indicated below Turn the modem on and apply power to the display appli cation programmer The application will begin executing its program if it contains one The programmer will initial ize the modem as shown by the activity on the modem status indicators Switch settings 1 ON 2 ON 3 ON 4 OFF 5 ON 6 ON 7 ON 8 OFF 9 OFF 10 OFF Installing an...

Страница 6: ... A1 WR DL1414T U2 8 9 10 11 2 1 12 5 4 D0 D1 D2 D3 D4 D5 D6 A0 A1 WR DL1414T U3 8 9 10 11 2 1 12 5 4 P2 0 P2 1 P2 2 P2 3 P2 4 P2 5 P2 6 P2 7 D0 D1 D2 D3 D4 D5 D6 A0 A1 WR DL1414T U4 8 9 10 11 2 1 12 5 4 D0 D1 D2 D3 D4 D5 D6 A0 A1 WR DL1414T U5 8 9 10 11 2 1 12 5 4 21 22 23 24 25 26 27 28 P0 0 P0 1 P0 2 P0 3 P0 4 P0 5 P0 6 P0 7 39 38 37 36 35 34 33 32 PSEN ALE PROG P3 6 WR P3 7 RD 29 30 16 17 AT89C...

Страница 7: ...Figure 2 AT89C51 Moving Display Application Modified for In Circuit Programming Microcontroller 4 15 ...

Страница 8: ...Figure 3 AT89C51 Programmer 4 16 Microcontroller ...

Страница 9: ...Figure 4 FTP Transmit Mode Microcontroller 4 17 ...

Страница 10: ...Figure 5 FTP Receive Mode 4 18 Microcontroller ...

Страница 11: ...eld consists of four hex digits and in dicates the absolute address at which the data in the data field is to be loaded The record type field consists of two hex digits which are always zero in data records The data field contains from one to 16 pairs of hex digits The last two hex digits are a checksum on the record length load address record type and data fields The sum of the binary equivalents...

Отзывы: