beautypg.com

Rainbow Electronics T89C51RD2 User Manual

Page 65

background image

65

Rev. F - 15 February, 2001

T89C51RD2

Mode Name

Mode

Rst

Psen

Ale

_ _

|_|

EA

P2.6

P2.7

P3.6

P3.7

P0[7..0]

PELCK

Program or Erase Lock.
Disable the Erasure or Programming
access

1

0

_ _

|_|

1

1

0

1

0

xx

PEULCK

Program or Erase UnLock.
Enable the Erasure or Programming
access

1

0

Note3

1

1

0

1

0

55-AA

PGMC

Write Code Data (byte)
or write Page
Always precedeed by PGML

1

0

_ _

|_|

Internally

timed

1

0

1

1

1

xx

PGML

Memory Page Load
(up to 128 bytes)

1

0

Note2

1

0

1

0

1

Din

PGMV

Read Code Data (byte)

1

0

1

1

0

_ _

|_|

1

1

Dout

VSB

Read Security Byte (=HSB)

1

0

1

1

0

_ _

|_|

0

1

Dout

PGMS

Write Security Byte (Note 4)
(security byte = HSB)

1

0

10ms

1

1

1

0

0

Din

CERR

Chip Erase User + XAF

1

0

10ms

1

1

0

0

0

xx

PGXC

Write Byte or Page in Extra Memory
(XAF)
Always precedeed by PGXL

1

0

_ _

|_|

Internally

timed

1

1

1

0

1

xx

PGXL

Memory Page Load XAF
(up to 128 bytes)

1

0

Note2

1

1

1

0

1

Din

TMS

Read Signature bytes
30h (Manufacturer code)
31h (Device ID #1)
60h (Device ID #2)
61h (Device ID #3)

1

0

1

1

0

_ _

|_|

0

0

Dout =

58h

D7h
FCh

FFh

RXAF

Read Extra Memory
(XAF)

1

0

1

1

0

_ _

|_|

0

0

Dout