UM10147_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 28 April 2008
121 of 134
NXP Semiconductors
UM10147
P89LPC952/954 User manual
Misc. Read
Input parameters:
ACC = 03h
R7= register address
00= UCFG1
01= UCFG2
02= Boot Vector
03= Status Byte
04 to 07 = reserved
08= Security Byte 0
09= Security Byte 1
0A= Security Byte 2
0B= Security Byte 3
0C= Security Byte 4
0D= Security Byte 5
0E= Security Byte 6
0F= Security Byte 7
10= Manufacturer Id
11= Device Id
12= Derivative Id
18= Security Byte 8 (89LPC954)
19= Security Byte 9 (89LPC954)
1A= Security Byte 10 (89LPC954)
1B= Security Byte 11 (89LPC954)
1C= Security Byte 12 (89LPC954)
1D= Security Byte 13 (89LPC954)
1E= Security Byte 14 (89LPC954)
1F= Security Byte 15 (89LPC954)
Return parameter(s):
R7= register data if no error, else error status
Carry= set on error, clear on no error
Erase Sector/Page
(requires ‘key’)
Input parameters:
ACC = 04h
R4= address (MSB)
R5= address (LSB)
R7= 00H (erase page) or 01H (erase sector)
Return parameter(s):
R7= data
Carry= set on error, clear on no error
Table 104. IAP function calls
…continued
IAP function
IAP call parameters