EasyManua.ls Logo

Philips LPC2129 - Figure 50: IAP Parameter Passing

Philips LPC2129
306 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flash Memory System and Programming 281 May 03, 2004
Philips Semiconductors Preliminary User Manual
LPC2119/2129/2194/2292/2294ARM-based Microcontroller
Figure 50: IAP Parameter passing
Prepare sector(s) for write operation
This command makes flash write/erase operation a two step process.
Table 215: IAP Prepare sector(s) for write operation command description
Command Prepare sector(s) for write operation
Input
Command code: 50
Param0: Start Sector Number
Param1: End Sector Number: Should be greater than or equal to start sector number.
Status Code
CMD_SUCCESS |
BUSY |
INVALID_SECTOR
Result None
Description
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.
ARM Register r0
Command Code
Parameter 0
Parameter 1
Parameter n
Status Code
Result 0
Result 1
Result n
Command
parameter table
Command
result table
ARM Register r1

Table of Contents

Related product manuals