T89C51RD2 ATMEL Corporation, T89C51RD2 Datasheet - Page 62
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
T89C51RD2
Manufacturer Part Number
T89C51RD2
Description
0 to 40MHz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
1.T89C51RD2.pdf
(86 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
T89C51RD2-CM
Manufacturer:
LUCENT
Quantity:
12 388
Part Number:
T89C51RD2-CM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
T89C51RD2-IM
Manufacturer:
ATMEL
Quantity:
12 388
Rev. F - 15 February, 2001
PROGRAM DATA PAGE
ERASE BOOT VECTOR
STATUS BYTE
PROGRAM SOFTWARE
SECURITY BIT
PROGRAM BOOT
STATUS BYTE
PROGRAM BOOT
VECTOR
READ DEVICE DATA
READ copy of the
MANUFACTURER ID
Input Parameters:
R0 = osc freq (integer Not required)
R1 = 09h
DPTR0 = address of the first byte to program in the FLASH memory
DPTR1 = address in XRAM of the first data to program (second data pointer)
ACC = number of bytes to program
Return Parameter
ACC = 00 if pass, !00 if fail
Remark: number of bytes to program is limited such as the FLASH write remains in a single 128bytes
page. Hence, when ACC is 128, valid values of DPL are 00h, or, 80h.
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 04h
DPH = 00h
DPL = don’t care
Return Parameter
none
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 05h
DPH = 00h
DPL = 00h – security bit # 1 (inhibit writing to FLASH)
Return Parameter
none
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 06h
DPH = 00h
DPL = 00h – program status byte
ACC = status byte
Return Parameter
ACC = status byte
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 06h
DPH = 00h
DPL = 01h – program boot vector
ACC = boot vector
Return Parameter
ACC = boot vector
Input Parameters:
R1 = 03h
DPTR = address of byte to read
Return Parameter
ACC = value of byte read
Input Parameters:
R0 = osc freq (integer Not required, left for Philips compatibility)
R1 = 00h
DPH = 00h
DPL = 00h (manufacturer ID)
Return Parameter
ACC = value of byte read
01h – security bit # 2 (inhibit FLASH verify)
10h - allows ISP writing to FLASH*
11h - allows ISP FLASH verify*
Table 33. API calls
T89C51RD2
62