
Table 13-46. Command bits:
Bit
[31:
18]
[17] [16] [15] [14] [13] [12] [11] [10] [9]
[8]
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Command
Reserved
Reserved
Reserved
FlashReadResource
FlashReadOnce
FlashProgramOnce
Reserved
SetProperty
Reset
Call
Execute
Reserved
GetProperty
Reserved
FillMemory
WriteMemory
ReadMemory
FlashEraseRegion
FlashEraseAll
13.6 Kinetis Flashloader Status Error Codes
This section describes the status error codes that the Kinetis Flashloader returns to the
host.
Table 13-47. Kinetis Flashloader 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.
Table continues on the next page...
Chapter 13 Kinetis Flashloader
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors
339
Содержание K22F series
Страница 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Страница 150: ...Private Peripheral Bus PPB memory map K22F Sub Family Reference Manual Rev 4 08 2016 150 NXP Semiconductors...
Страница 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Страница 198: ...Security Interactions with other Modules K22F Sub Family Reference Manual Rev 4 08 2016 198 NXP Semiconductors...
Страница 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Страница 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Страница 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Страница 628: ...Initialization and application information K22F Sub Family Reference Manual Rev 4 08 2016 628 NXP Semiconductors...
Страница 740: ...Initialization Application Information K22F Sub Family Reference Manual Rev 4 08 2016 740 NXP Semiconductors...
Страница 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Страница 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Страница 866: ...Initialization Application Information K22F Sub Family Reference Manual Rev 4 08 2016 866 NXP Semiconductors...
Страница 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Страница 1028: ...Initialization Procedure K22F Sub Family Reference Manual Rev 4 08 2016 1028 NXP Semiconductors...
Страница 1040: ...Example configuration for chained timers K22F Sub Family Reference Manual Rev 4 08 2016 1040 NXP Semiconductors...
Страница 1118: ...Device mode IRC48 operation K22F Sub Family Reference Manual Rev 4 08 2016 1118 NXP Semiconductors...
Страница 1122: ...USB Voltage Regulator Module Signal Descriptions K22F Sub Family Reference Manual Rev 4 08 2016 1122 NXP Semiconductors...
Страница 1180: ...Initialization application information K22F Sub Family Reference Manual Rev 4 08 2016 1180 NXP Semiconductors...
Страница 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Страница 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...