UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 636 of 841
NXP Semiconductors
UM10360
Chapter 32: LPC176x/5x Flash memory interface and programming
32.8.4 Blank check sector(s)
32.8.5 Read part identification number
32.8.6 Read Boot Code version number
Table 592. IAP Blank check sector(s) command
Command Blank check sector(s)
Input Command code: 53
(decimal)
Param0: Start Sector Number
Param1: End Sector Number (should be greater than or equal to start sector
number).
Return Code CMD_SUCCESS |
BUSY |
SECTOR_NOT_BLANK |
INVALID_SECTOR
Result
Result0: Offset of the first non blank word location if the Status Code is
SECTOR_NOT_BLANK.
Result1: Contents of non blank word location.
Description This command is used to blank check a sector or multiple sectors of on-chip flash
memory. To blank check a single sector use the same "Start" and "End" sector
numbers.
Table 593. IAP Read part identification number command
Command Read part identification number
Input Command code: 54
(decimal)
Parameters: None
Return Code CMD_SUCCESS |
Result
Result0: Part Identification Number.
Description This command is used to read the part identification number. The value returned
is the hexadecimal version of the part ID. See Table 583 “
LPC176x/5x part
identification numbers”.
Table 594. IAP Read Boot Code version number command
Command Read boot code version number
Input Command code: 55
(decimal)
Parameters: None
Return Code CMD_SUCCESS |
Result
Result0: 2 bytes of boot code version number. It is to be interpreted as
<byte1(Major)>.<byte0(Minor)>
Description This command is used to read the boot code version number.