Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 430 of 547
NXP Semiconductors
UM10398
Chapter 26: LPC111x/LPC11Cxx Flash programming firmware
26.5.10 Blank check sector(s) <sector number> <end sector number> (UART
ISP)
26.5.11 Read Part Identification number (UART ISP)
Table 385. UART 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.
When CRP is enabled, the blank check command returns 0 for the offset and value
of sectors which are not blank. Blank sectors are correctly reported irrespective of
the CRP setting.
Example "I 2 3<CR><LF>" blank checks the flash sectors 2 and 3.
Table 386. UART ISP Read Part Identification command
Command J
Input None.
Return Code CMD_SUCCESS followed by part identification number in ASCII (see Table 387
).
Description This command is used to read the part identification number.
Table 387. LPC111x and LPC11Cxx part identification numbers
Device Hex coding
LPC111x
LPC1110FD20 0x0A07 102B; 0x1A07 102B
LPC1111FDH20/002 0x0A16 D02B; 0x1A16 D02B
LPC1111FHN33/101 0x041E 502B; 0x2516 D02B
LPC1111FHN33/102 0x2516 D02B
LPC1111FHN33/201 0x0416 502B; 0x2516 902B
LPC1111FHN33/202 0x2516 902B
LPC1111FHN33/103 0x0001 0013
LPC1111JHN33/103 0x0001 0013
LPC1111FHN33/203 0x0001 0012
LPC1111JHN33/203 0x0001 0012
LPC1112FD20/102 0x0A24 902B; 0x1A24 902B
LPC1112FDH20/102 0x0A24 902B; 0x1A24 902B
LPC1112FDH28/102 0x0A24 902B; 0x1A24 902B
LPC1112FHN33/101 0x042D 502B; 0x2524 D02B
LPC1112FHN33/102 0x2524 D02B