11 read part identification number, Section 30–9.11, Table 30–613 – NXP Semiconductors LPC24XX UM10237 User Manual
Page 688: Table 30–614, Table 30–615, Nxp semiconductors
![background image](/manuals/190592/688/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
688 of 792
NXP Semiconductors
UM10237
Chapter 30: LPC24XX Flash memory programming firmware
9.9 Erase sector(s)
9.10 Blank check sector(s)
9.11 Read Part Identification number
Table 613. 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.
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.
Example
"E 2 3
Table 614. 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
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
Table 615. ISP Read Part Identification command
Command
J
Input
None.
Return Code
CMD_SUCCESS followed by part identification number in ASCII (see
“LPC24xx part Identification numbers”
Description
This command is used to read the part identification number.