![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 220](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847220.webp)
Table 13-39. Command bits:
Bit
[31:
17]
[16]
[15] [14] [13] [12] [11] [10]
[9]
[8]
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Command
Reserved
Reserved
Reserved
Reserved
FlashEraseAllUnsecure
SetProperty
Reset
Call
Execute
Reserved
GetProperty
FlashSecurityDisable
FillMemory
WriteMemory
ReadMemory
FlashEraseRegion
FlashEraseAll
13.6 Kinetis Bootloader Status Error Codes
This section describes the status error codes that the Kinetis Bootloader returns to the
host.
Table 13-40. Kinetis Bootloader Status Error Codes, sorted by Value
Error Code
Value
Description
kStatus_Success
0
Operation succeeded without error.
kStatus_Fail
1
Operation failed with a generic error.
kStatus_ReadOnly
2
Requested value cannot be changed because it is read-only.
kStatus_OutOfRange
3
Requested value is out of range.
kStatus_InvalidArgument
4
The requested command's argument is undefined.
kStatus_Timeout
5
A timeout occurred.
kStatus_FlashSizeError
100
Not used.
kStatus_FlashAlignmentError
101
Address or length does not meet required alignment.
kStatus_FlashAddressError
102
Address or length is outside addressable memory.
kStatus_FlashAccessError
103
The FTFA_FSTAT[ACCERR] bit is set.
kStatus_FlashProtectionViolation
104
The FTFA_FSTAT[FPVIOL] bit is set.
kStatus_FlashCommandFailure
105
The FTFA_FSTAT[MGSTAT0] bit is set.
kStatus_FlashUnknownProperty
106
Unknown Flash property.
kStatus_FlashEraseKeyError
107
The key provided does not match the programmed flash key.
kStatus_FlashRegionExecuteOnly
108
The area of flash is protected as execute only.
kStatus_I2C_SlaveTxUnderrun
200
I2C Slave TX Underrun error.
kStatus_I2C_SlaveRxOverrun
201
I2C Slave RX Overrun error.
kStatus_I2C_AribtrationLost
202
I2C Arbitration Lost error.
kStatus_SPI_SlaveTxUnderrun
300
SPI Slave TX Underrun error.
kStatus_SPI_SlaveRxOverrun
301
SPI Slave RX Overrun error.
kStatus_SPI_Timeout
302
SPI tranfser timed out.
Table continues on the next page...
Kinetis Bootloader Status Error Codes
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
220
Freescale Semiconductor, Inc.