UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
163 of 258
NXP Semiconductors
UM10429
Chapter 17: LPC1102 Flash memory programming firmware
17.6.1 Prepare sector(s) for write operation (IAP)
This command makes flash write/erase operation a two step process.
Table 168. IAP Command Summary
IAP Command
Command Code
Described in
Prepare sector(s) for write operation
50
10
Copy RAM to flash
51
10
Erase sector(s)
52
10
Blank check sector(s)
53
10
Read Part ID
54
10
Read Boot code version
55
10
Compare
56
10
Reinvoke ISP
57
10
Read UID
58
10
Fig 32. IAP parameter passing
COMMAND CODE
PARAMETER 1
PARAMETER 2
PARAMETER n
STATUS CODE
RESULT 1
RESULT 2
RESULT n
command
parameter table
command
result table
ARM REGISTER r0
ARM REGISTER r1
Table 169. IAP Prepare sector(s) for write operation command
Command
Prepare sector(s) for write operation
Input
Command code: 5010
Param0:
Start Sector Number
Param1:
End Sector Number (should be greater than or equal to start sector
number).