
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
600 of 808
NXP Semiconductors
UM10360
Chapter 32: LPC17xx Flash memory interface and programming
7.9 Erase sector(s) <start sector number> <end sector number>
7.10 Blank check sector(s) <sector number> <end sector number>
7.11 Read Part Identification number
Table 562. ISP Erase sector command
Command
E
Input
Start Sector Number
End Sector Number:
Should be greater than or equal to start sector number.
Return Code
CMD_SUCCESS |
BUSY |
INVALID_SECTOR |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
CMD_LOCKED |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED
Description
This command is used to erase one or more sector(s) of on-chip flash memory. This
command only allows erasure of all user sectors when the code read protection is
enabled.
Example
"E 2 3<CR><LF>" erases the flash sectors 2 and 3.
Table 563. 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.
Example
"I 2 3<CR><LF>" blank checks the flash sectors 2 and 3.
Table 564. ISP Read Part Identification command
Command
J
Input
None.
Return Code
CMD_SUCCESS followed by part identification number in ASCII (see
“LPC17xx part identification numbers”
).
Description
This command is used to read the part identification number. The part identification
number maps to a feature subset within a device family. This number will not
normally change as a result of technical revisions.