
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
428 of 464
NXP Semiconductors
UM10850
Chapter 31: LPC5410x Flash API
31.5.11 Blank check sectors
31.5.12 Read Part Identification number
31.5.13 Read Boot code version number
Table 487. USART 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.
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 488. USART ISP Read Part Identification command
Command
J
Input
None.
Return Code
CMD_SUCCESS followed by part identification number (see
Table 489 “LPCA5410x device identification
).
Description
This command is used to read the part identification number.
Table 489. LPCA5410x device identification numbers
Device
Hex coding
LPC54101J256
0x8845 4101
LPC54101J512
0x8885 4101
LPC54102J256
0x8845 4102
LPC54102J512
0x8885 4102
Table 490. USART 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.