Datasheet

113
4235K–8051–05/08
AT89C51RD2/ED2
PROGRAM SSB 05h XXh
DPH = 00h
DPL = 00h
00h ACC = SSB value
Set SSB level 1
DPH = 00h
DPL = 01h
Set SSB level 2
DPH = 00h
DPL = 10h
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 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.
PROGRAM X2 FUSE 0Ah
Fuse value
00h or 01h
0008h XXh none Program X2 fuse bit with ACC
PROGRAM BLJB FUSE 0Ah
Fuse value
00h or 01h
0004h XXh none Program BLJB fuse bit with ACC
READ HSB 0Bh XXh XXXXh XXh ACC = HSB Read Hardware Byte
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
Table 24-10. API Call Summary (Continued)
Command R1 A DPTR0 DPTR1 Returned Value Command Effect