DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

T89C51RD2-3CSCM View Datasheet(PDF) - Atmel Corporation

Part Name
Description
Manufacturer
T89C51RD2-3CSCM
Atmel
Atmel Corporation 
T89C51RD2-3CSCM Datasheet PDF : 104 Pages
First Prev 71 72 73 74 75 76 77 78 79 80 Next Last
Table 41. API Call Summary
Command
R1
The API calls description and arguments are shown in Table 41.
A
DPTR0
DPTR1
Returned Value Command Effect
READ MANUF ID
00h
XXh
0000h
XXh
ACC=Manufacturer
ID
Read Manufacturer identifier
READ DEVICE ID1 00h
XXh
0001h
XXh
ACC= Device ID 1 Read Device identifier 1
READ DEVICE ID2 00h
XXh
0002h
XXh
ACC=Device ID 2 Read Device identifier 2
READ DEVICE ID3 00h
XXh
0003h
XXh
ACC=Device ID 3 Read Device identifier 3
PROGRAM DATA
BYTE
02h
Byte value to
program
Address of
Byte to
program
ACC = 0 : DONE
Program one Data Byte in user Flash
ERASE BOOT
VECTOR
04h
XXh
XXh
XXh
ACC=FCh
Erase Software boot vector and boot status
Byte. (SBV=FCh and BSB=FFh)
DPH = 00h
DPL = 00h
Set SSB level 1
DPH = 00h
DPL = 01h
PROGRAM SSB
05h
XXh
00h
DPH = 00h
DPL = 10h
ACC= SSB value
Set SSB level 2
Set SSB level 0
DPH = 00h
DPL = 11h
Set SSB level 1
PROGRAM BSB
06h
New BSB
value
0000h
XXh
none
Program boot status Byte
PROGRAM SBV
06h
New SBV
value
0001h
XXh
none
Program software boot vector
READ SSB
07h
XXh
0000h
XXh
ACC=SSB
Read Software Security Byte
READ HSB
07h
XXh
0004h
XXh
ACC=HSB
Read Hardware Byte
READ BSB
07h
XXh
0001h
XXh
ACC=BSB
Read Boot Status Byte
READ SBV
07h
XXh
0002h
XXh
ACC=SBV
Read Software Boot Vector
PROGRAM DATA
PAGE
09h
Number of
Byte to
program
Address of
the first Byte
to program in
the Flash
memory
Address in
XRAM of the
first data to
program
ACC = 0 : DONE
Program up to 128 Bytes in user Flash.
Remark: number of Bytes to program is
limited such as the Flash write remains in a
single 128 Bytes page. Hence, when ACC is
128, valid values of DPL are 00h, or 80h.
READ BOOT ID1
0Eh
XXh
DPL = 00h
XXh
ACC=ID1
Read boot ID1
READ BOOT ID2
0Eh
XXh
DPL = 01h
XXh
ACC=ID2
Read boot ID2
READ BOOT VERSION 0Fh
XXh
XXXXh
XXh
ACC=Boot_Version Read bootloader version
74 T89C51RD2
4243G805105/03

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]