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.
Содержание MKL27Z128VFM4
Страница 2: ...KL27 Sub Family Reference Manual Rev 5 01 2016 2 Freescale Semiconductor Inc...
Страница 54: ...AWIC introduction KL27 Sub Family Reference Manual Rev 5 01 2016 54 Freescale Semiconductor Inc...
Страница 100: ...Module operation in low power modes KL27 Sub Family Reference Manual Rev 5 01 2016 100 Freescale Semiconductor Inc...
Страница 142: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 142 Freescale Semiconductor Inc...
Страница 248: ...Memory map and register descriptions KL27 Sub Family Reference Manual Rev 5 01 2016 248 Freescale Semiconductor Inc...
Страница 256: ...Memory map register descriptions KL27 Sub Family Reference Manual Rev 5 01 2016 256 Freescale Semiconductor Inc...
Страница 262: ...Initialization application information KL27 Sub Family Reference Manual Rev 5 01 2016 262 Freescale Semiconductor Inc...
Страница 292: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 292 Freescale Semiconductor Inc...
Страница 324: ...Functional Description KL27 Sub Family Reference Manual Rev 5 01 2016 324 Freescale Semiconductor Inc...
Страница 390: ...Application information KL27 Sub Family Reference Manual Rev 5 01 2016 390 Freescale Semiconductor Inc...
Страница 422: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 422 Freescale Semiconductor Inc...
Страница 432: ...Initialization Application Information KL27 Sub Family Reference Manual Rev 5 01 2016 432 Freescale Semiconductor Inc...
Страница 442: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 442 Freescale Semiconductor Inc...
Страница 512: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 512 Freescale Semiconductor Inc...
Страница 610: ...Initialization application information KL27 Sub Family Reference Manual Rev 5 01 2016 610 Freescale Semiconductor Inc...
Страница 646: ...Initialization application information KL27 Sub Family Reference Manual Rev 5 01 2016 646 Freescale Semiconductor Inc...
Страница 744: ...Application information KL27 Sub Family Reference Manual Rev 5 01 2016 744 Freescale Semiconductor Inc...
Страница 784: ...Application Information KL27 Sub Family Reference Manual Rev 5 01 2016 784 Freescale Semiconductor Inc...
Страница 830: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 830 Freescale Semiconductor Inc...
Страница 850: ...Application information KL27 Sub Family Reference Manual Rev 5 01 2016 850 Freescale Semiconductor Inc...
Страница 886: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 886 Freescale Semiconductor Inc...