© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
303
Philips Semiconductors
UM10139
Volume 1
Chapter 21: Flash Memory
21.8.10 Blank check sector(s) <sector number> <end sector number>
21.8.11 Read
Part
Identification number
21.8.12 Read
Boot code version number
Table 299: ISP Blank check sector command
Command
I
Input
Start Sector Number:
End Sector Number: Should be greater than or equal to start sector number.
Return Code CMD_SUCCESS |
SECTOR_NOT_BLANK (followed by <Offset of the first non blank word location>
<Contents of non blank word location>) |
INVALID_SECTOR |
PARAM_ERROR |
Description
This command is used to blank check one or more sectors of on-chip Flash
memory.
Blank check on sector 0 always fails as first 64 bytes are re-mapped to flash
boot block.
Example
"I 2 3<CR><LF>" blank checks the flash sectors 2 and 3.
Table 300: ISP Read Part Identification number command
Command
J
Input
None.
Return Code CMD_SUCCESS followed by part identification number in ASCII (see
).
Description
This command is used to read the part identification number.
Table 301: LPC214x Part Identification numbers
Device
ASCII/dec coding
Hex coding
LPC2141
196353
0x0002 FF01
LPC2142
196369
0x0002 FF11
LPC2144
196370
0x0002 FF12
LPC2146
196387
0x0002 FF23
LPC2148
196389
0x0002 FF25
Table 302: ISP Read Boot code version number command
Command
K
Input
None
Return Code CMD_SUCCESS followed by 2 bytes of boot code version number in ASCII format.
It is to be interpreted as <byte1(Major)>.<byte0(Minor)>.
Description
This command is used to read the boot code version number.