
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
438 of 464
NXP Semiconductors
UM10850
Chapter 31: LPC5410x Flash API
31.6.9 ReadUID
31.6.10 Erase page
31.6.11 Read Signature
Table 505. IAP ReadUID command
Command
Compare
Input
Command code: 58 (decimal)
Status code
CMD_SUCCESS
Result
Result0:
The first 32-bit word (at the lowest address).
Result1:
The second 32-bit word.
Result2:
The third 32-bit word.
Result3:
The fourth 32-bit word.
Description
This command is used to read the unique ID.
Table 506. IAP Erase page command
Command
Erase page
Input
Command code: 59 (decimal)
Param0:
Start page number.
Param1:
End page number (should be greater than or equal to start page)
Param2:
System Clock Frequency (CCLK) in kHz.
Status code
CMD_SUCCESS |
BUSY |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
INVALID_PAGE
Result
None
Description
This command is used to erase a page or multiple pages of on-chip flash memory. To erase a single page use
the same "start" and "end" page numbers.
Remark:
All user code must be written in such a way that no master accesses the flash while this command
is executed and the flash is erased.
Table 507. IAP Read Signature command
Command
Read Signature
Input
Command code: 70 (decimal)
Status code
CMD_SUCCESS
Result
Result0:
The 32-bit generated signature.
Description
This command is used to obtain a 32-bit signature value of the entire flash memory. See
“LPC5410x Flash signature generator”
for details of the signature algorithm.