
139
AT89C51ID2
4289C–8051–11/05
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 97. API Call Summary (Continued)
Command
R1
A
DPTR0
DPTR1
Returned Value
Command Effect