Erase Sector(S) <Start Sector Number> <End Sector Number; Blank Check Sector(S) <Sector Number> <End Sector Number; Read Part Identification Number; User Manual - Philips LPC2101 User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
19.8.9 Erase sector(s) <start sector number> <end sector number>
Table 219: ISP Erase sector command
Command
Input
Return Code CMD_SUCCESS |
Description
Example
19.8.10 Blank check sector(s) <sector number> <end sector number>
Table 220: ISP Blank check sector command
Command
Input
Return Code CMD_SUCCESS |
Description
Example

19.8.11 Read part identification number

Table 221: ISP Read part identification number command
Command
Input
Return Code CMD_SUCCESS followed by part identification number in ASCII (see
Description
Table 222: LPC2101/02/03 part identification numbers
Device
LPC2103

User manual

E
Start Sector Number
End Sector Number: Should be greater than or equal to start sector number.
BUSY |
INVALID_SECTOR |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
CMD_LOCKED |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED
This command is used to erase one or more sector(s) of on-chip Flash memory.
The boot block can not be erased using this command. This command only allows
erasure of all user sectors when the code read protection is enabled.
"E 2 3<CR><LF>" erases the flash sectors 2 and 3.
I
Start Sector Number:
End Sector Number: Should be greater than or equal to start sector number.
SECTOR_NOT_BLANK (followed by <Offset of the first non blank word location>
<Contents of non blank word location>) |
INVALID_SECTOR |
PARAM_ERROR |
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.
"I 2 3<CR><LF>" blank checks the flash sectors 2 and 3.
J
None.
This command is used to read the part identification number.
ASCII/dec coding
327441
Rev. 01 — 12 January 2006
UM10161
Chapter 19: Flash memory
Hex coding
0x0004 FF11
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
Table
222).
240

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents