© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual
Rev. 01 — 12 January 2006
244
Philips Semiconductors
UM10161
Volume 1
Chapter 19: Flash memory
19.9.1 Prepare sector(s) for write operation
This command makes flash write/erase operation a two step process.
Table 226: 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
Fig 63. 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 227: IAP Prepare sector(s) for write operation command
Command
Prepare sector(s) for write operation
Input
Command code: 50
10
Param0:
Start Sector Number
Param1:
End Sector Number (should be greater than or equal to start sector
number).