DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
252 of 313
NXP Semiconductors
UM10601
Chapter 21: LPC800 Flash ISP and IAP programming
21.4.2.1 Prepare sector(s) for write operation (IAP)
This command makes flash write/erase operation a two step process.
Table 234. IAP Command Summary
IAP Command
Command Code
Described in
Prepare sector(s) for write operation
50 (decimal)
Copy RAM to flash
51 (decimal)
Erase sector(s)
52 (decimal)
Blank check sector(s)
53 (decimal)
Read Part ID
54 (decimal)
Read Boot code version
55 (decimal)
Compare
56 (decimal)
Reinvoke ISP
57 (decimal)
Read UID
58 (decimal)
Erase page
59 (decimal)
Fig 36. IAP parameter passing
&200$1'&2'(
3$5$0(7(5
3$5$0(7(5
3$5$0(7(5Q
67$786&2'(
5(68/7
5(68/7
5(68/7Q
FRPPDQG
SDUDPHWHUWDEOH
FRPPDQG
UHVXOWWDEOH
$505(*,67(5U
$505(*,67(5U
Table 235. IAP Prepare sector(s) for write operation command
Command
Prepare sector(s) for write operation
Input
Command code: 50 (decimal)
Param0:
Start Sector Number
Param1:
End Sector Number (should be greater than or equal to start sector
number).