UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1190 of 1269
NXP Semiconductors
UM10503
Chapter 46: LPC43xx flash programming/ISP and IAP
46.8.5 Blank check sectors
46.8.6 Read part identification number
46.8.7 Read Boot Code version number
Table 1047.IAP Blank check sectors command
Command
Blank check sectors
Input
Command code: 53 (decimal)
Param0:
Start Sector Number
Param1:
End Sector Number (should be greater than or equal to start sector
number).
Param2:
Flash bank (0 = flash bank A, 1 = flash bank B)
Return Code
CMD_SUCCESS |
BUSY |
SECTOR_NOT_BLANK |
INVALID_SECTOR | INVALID_FLASH_UNIT
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.
Stack usage
120 B
Table 1048.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.
Result1:
Part Identification Number.
Description
This command is used to read the part identification number. See
“LPC43xx part identification numbers”
.
The command returns two words: word0 followed by word1. Word 0 corresponds
to the part id and word1 indicates the flash configuration or contains 0x0 for
flashless parts.
Stack usage
8 B
Table 1049.IAP Read Boot Code version number command
Command
Read boot code version number
Input
Command code: 55 (decimal)
Parameters:
None
Return Code
CMD_SUCCESS |