EasyManua.ls Logo

Philips LPC2101 - Blank Check Sector(S); Erase Sector(S); Read Part Identification Number; Sector_Not_Blank

Philips LPC2101
279 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...
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual Rev. 01 — 12 January 2006 246
Philips Semiconductors
UM10161
Volume 1 Chapter 19: Flash memory
19.9.3 Erase sector(s)
19.9.4 Blank check sector(s)
19.9.5 Read part identification number
Table 229: IAP Erase sector(s) command
Command Erase Sector(s)
Input 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.
Return Code CMD_SUCCESS |
BUSY |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
INVALID_SECTOR
Result None
Description 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.
Table 230: IAP Blank check sector(s) command
Command Blank check sector(s)
Input Command code: 53
10
Param0: Start Sector Number
Param1: End Sector Number (should be greater than or equal to start sector
number).
Return Code CMD_SUCCESS |
BUSY |
SECTOR_NOT_BLANK |
INVALID_SECTOR
Result Result0: Offset of the first non blank word location if the Status Code is
SECTOR_NOT_BLANK.
Result1: Contents of non blank word location.
Description 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.
Table 231: IAP Read Part Identification command
Command Read part identification number
Input Command code: 54
10
Parameters: None
Return Code CMD_SUCCESS |
Result Result0: Part Identification Number (see Table 222 “
LPC2101/02/03 part
identification numbers” on page 240 for details)
Description This command is used to read the part identification number.

Table of Contents

Related product manuals