UM10346_1
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 01 — 2 November 2009
118 of 132
NXP Semiconductors
UM10346
LPC980/982 User manual
Table 98.
IAP function calls
IAP function
IAP call parameters
Program User Code Page
(requires ‘key’)
Input parameters:
ACC = 00h
R3= number of bytes to program
R4= page address (MSB)
R5= page address (LSB)
R7= pointer to data buffer in RAM
F1= 0h = use IDATA
Return parameter(s):
R7= status
Carry= set on error, clear on no error
Read Version Id
Input parameters:
ACC = 01h
Return parameter(s):
R7=IAP version id
Misc. Write (requires ‘key’) Input parameters:
ACC = 02h
R5= data to write
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 = Clear Configuration Protection
Return parameter(s):
R7= status
Carry= set on error, clear on no error