Figure 48: Iap Parameter Passing - Philips LPC2119 User Manual

Arm-based microcontroller
Hide thumbs Also See for LPC2119:
Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller
ARM Register r0
ARM Register r1
Prepare sector(s) for write operation
This command makes flash write/erase operation a two step process.
Table 214: IAP Prepare sector(s) for write operation command description
Command
Input
Status Code
Result
Description
Flash Memory System and Programming

Figure 48: 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.
LPC2119/2129/2292/2294
Command Code
Parameter 0
Parameter 1
Parameter n
Status Code
Result 0
Result 1
Result n
244
Preliminary User Manual
Command
parameter table
Command
result table
January 08, 2004

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2292Lpc2294

Table of Contents