Philips Semiconductors
Volume 1
19.9.3 Erase sector(s)
Table 229: IAP Erase sector(s) command
Command
Input
Return Code
Result
Description
19.9.4 Blank check sector(s)
Table 230: IAP Blank check sector(s) command
Command
Input
Return Code
Result
Description
19.9.5 Read part identification number
Table 231: IAP Read Part Identification command
Command
Input
Return Code
Result
Description
User manual
Erase Sector(s)
Command code: 52
10
Param0: Start Sector Number
Param1: End Sector Number (should be greater than or equal to start sector
number).
Param2: System Clock Frequency (CCLK) in kHz.
CMD_SUCCESS |
BUSY |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
INVALID_SECTOR
None
This command is used to erase a sector or multiple sectors of on-chip Flash
memory. The boot sector can not be erased by this command. To erase a single
sector use the same "Start" and "End" sector numbers.
Blank check sector(s)
Command code: 53
10
Param0: Start Sector Number
Param1: End Sector Number (should be greater than or equal to start sector
number).
CMD_SUCCESS |
BUSY |
SECTOR_NOT_BLANK |
INVALID_SECTOR
Result0: Offset of the first non blank word location if the Status Code is
SECTOR_NOT_BLANK.
Result1: Contents of non blank word location.
This command is used to blank check a sector or multiple sectors of on-chip Flash
memory. To blank check a single sector use the same "Start" and "End" sector
numbers.
Read part identification number
Command code: 54
10
Parameters: None
CMD_SUCCESS |
Result0: Part Identification Number (see
identification numbers" on page 240
This command is used to read the part identification number.
Rev. 01 — 12 January 2006
UM10161
Chapter 19: Flash memory
Table 222 "LPC2101/02/03 part
for details)
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
246