Prepare Sector(S) For Write Operation; User Manual - Philips LPC2101 User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 226: IAP command summary
IAP Command

Prepare sector(s) for write operation

Copy RAM to Flash
Erase sector(s)
Blank check sector(s)
Read Part ID
Read Boot code version
Compare
Reinvoke ISP
19.9.1 Prepare sector(s) for write operation
This command makes flash write/erase operation a two step process.
Table 227: IAP Prepare sector(s) for write operation command
Command
Input

User manual

ARM REGISTER r0
ARM REGISTER r1
Fig 63. IAP Parameter passing
Prepare sector(s) for write operation
Command code: 50
Param0: Start Sector Number
Param1: End Sector Number (should be greater than or equal to start sector
number).
Rev. 01 — 12 January 2006
Command Code
50
10
51
10
52
10
53
10
54
10
55
10
56
10
57
10
COMMAND CODE
PARAMETER 1
PARAMETER 2
PARAMETER n
STATUS CODE
RESULT 1
RESULT 2
RESULT n
10
UM10161
Chapter 19: Flash memory
Described in
Table 227
Table 228
Table 229
Table 230
Table 231
Table 232
Table 233
Table 234
command
parameter table
command
result table
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
244

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents