Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 440 of 547
NXP Semiconductors
UM10398
Chapter 26: LPC111x/LPC11Cxx Flash programming firmware
26.7.1 Prepare sector(s) for write operation (IAP)
This command makes flash write/erase operation a two step process.
Table 395. IAP Command Summary
IAP Command Command Code Described in
Prepare sector(s) for write operation 50 (decimal) Table 396
Copy RAM to flash 51 (decimal) Table 397
Erase sector(s) 52 (decimal) Table 398
Blank check sector(s) 53 (decimal) Table 399
Read Part ID 54 (decimal)
Table 400
Read Boot code version 55 (decimal) Table 401
Compare 56 (decimal) Table 402
Reinvoke ISP 57 (decimal) Table 403
Read UID 58 (decimal) Table 404
Erase page 59 (decimal) Table 405
Fig 92. IAP parameter passing
Command code
Param 0
Param 1
Param n
status_result[0]
status_result[1]
Status code
Result 0
Result 1
Result n
Command Parameter Array
Status Result Array
ARM REGISTER r0
ARM REGISTER r1
command_param[0]
command_param[1]
command_param[2]
command_param[n]
status_result[2]
status_result[n]