Kinetis Bootloader Status Error Codes - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Kinetis Bootloader Status Error Codes

Bit
[31:
[16]
17]
Command
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
kStatus_Success
kStatus_Fail
kStatus_ReadOnly
kStatus_OutOfRange
kStatus_InvalidArgument
kStatus_Timeout
kStatus_FlashSizeError
kStatus_FlashAlignmentError
kStatus_FlashAddressError
kStatus_FlashAccessError
kStatus_FlashProtectionViolation
kStatus_FlashCommandFailure
kStatus_FlashUnknownProperty
kStatus_FlashEraseKeyError
kStatus_FlashRegionExecuteOnly
kStatus_I2C_SlaveTxUnderrun
kStatus_I2C_SlaveRxOverrun
kStatus_I2C_AribtrationLost
kStatus_SPI_SlaveTxUnderrun
kStatus_SPI_SlaveRxOverrun
kStatus_SPI_Timeout
220
Table 13-39. Command bits:
[15] [14] [13] [12] [11] [10]
Value
0
Operation succeeded without error.
1
Operation failed with a generic error.
2
Requested value cannot be changed because it is read-only.
3
Requested value is out of range.
4
The requested command's argument is undefined.
5
A timeout occurred.
100
Not used.
101
Address or length does not meet required alignment.
102
Address or length is outside addressable memory.
103
The FTFA_FSTAT[ACCERR] bit is set.
104
The FTFA_FSTAT[FPVIOL] bit is set.
105
The FTFA_FSTAT[MGSTAT0] bit is set.
106
Unknown Flash property.
107
The key provided does not match the programmed flash key.
108
The area of flash is protected as execute only.
200
I2C Slave TX Underrun error.
201
I2C Slave RX Overrun error.
202
I2C Arbitration Lost error.
300
SPI Slave TX Underrun error.
301
SPI Slave RX Overrun error.
302
SPI tranfser timed out.
Table continues on the next page...
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
[9]
[8]
[7]
[6]
[5]
Description
[4]
[3]
[2]
[1]
[0]
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents