
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
439 of 464
NXP Semiconductors
UM10850
Chapter 31: LPC5410x Flash API
31.6.12 IAP Status Codes
Table 508. IAP Status codes Summary
Status
code
Mnemonic
Description
0
CMD_SUCCESS
Command is executed successfully.
1
INVALID_COMMAND
Invalid command.
2
SRC_ADDR_ERROR
Source address is not on a word boundary.
3
DST_ADDR_ERROR
Destination address is not on a correct boundary.
4
SRC_ADDR_NOT_MAPPED
Source address is not mapped in the memory map. Count value is taken in to
consideration where applicable.
5
DST_ADDR_NOT_MAPPED
Destination address is not mapped in the memory map. Count value is taken in
to consideration where applicable.
6
COUNT_ERROR
Byte count is not multiple of 4 or is not a permitted value.
7
INVALID_SECTOR
Sector number is invalid.
8
SECTOR_NOT_BLANK
Sector is not blank.
9
SECTOR_NOT_PREPARED_
FOR_WRITE_OPERATION
Command to prepare sector for write operation was not executed.
10
COMPARE_ERROR
Source and destination data is not same.
11
BUSY
flash programming hardware interface is busy.