Prepare Sector(S) For Write Operation - Philips LPC214 Series User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1

21.9.1 Prepare sector(s) for write operation

This command makes flash write/erase operation a two step process.
Table 306: IAP Prepare sector(s) for write operation command
Command
Input
Return Code
Result
Description
User manual
ARM REGISTER r0
ARM REGISTER r1
Fig 67. 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 — 15 August 2005
COMMAND CODE
PARAMETER 1
PARAMETER 2
PARAMETER n
STATUS CODE
RESULT 1
RESULT 2
RESULT n
10
UM10139
Chapter 21: Flash Memory
Command
parameter
table
Command
result table
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2148Lpc2141Lpc2142Lpc2144Lpc2146

Table of Contents