Philips Semiconductors
Volume 1
20.9.1 Prepare sector(s) for write operation
This command makes flash write/erase operation a two step process.
Table 211: IAP Prepare sector(s) for write operation command
Command
Input
Return Code
Result
Description
User manual
ARM REGISTER r0
ARM REGISTER r1
Fig 57. 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).
CMD_SUCCESS |
BUSY |
INVALID_SECTOR
None
This command must be executed before executing "Copy RAM to Flash" or "Erase
Sector(s)" command. Successful execution of the "Copy RAM to Flash" or "Erase
Sector(s)" command causes relevant sectors to be protected again. The boot
sector can not be prepared by this command. To prepare a single sector use the
same "Start" and "End" sector numbers.
Rev. 01 — 24 June 2005
COMMAND CODE
PARAMETER 1
PARAMETER 2
PARAMETER n
STATUS CODE
RESULT 1
RESULT 2
RESULT n
10
UM10120
Chapter 20: Flash Memory
Command
parameter
table
Command
result table
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
232