
Table 14-60. 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
FlashEraseAllUnsecure
SetProperty
Reset
Call
Execute
ReceiveSBFile
GetProperty
FlashSecurityDisable
FillMemory
WriteMemory
ReadMemory
FlashEraseRegion
FlashEraseAll
14.5.1.4 TargetVersion Property
The value of this property is a 4-byte structure containing the target version of the
bootloader. The TargetVersion number returned returned for this device is 1.0.0.
Table 14-61. Fields of TargetVersion property:
Bits
[31:24]
[23:16]
[15:8]
[7:0]
Field
Name = 'T' (0x4B)
Major version
Minor version
Bugfix version
14.6 SB File Decryption Support
The bootloader supports the loading and flashing of applications using an encrypted SB
file format. Using the ReceiveSbFile command, the host can send an SB file that contains
various commands and data that will be executed on the Kinetis bootloader (the target).
An unencrypted SB file can be flashed to the target only when flash security is disabled.
When flash security is enabled, all memory writes and reads are disabled, with the
exception being an encrypted SB file that can be sent to the target. The SB file is
decrypted using an AES-128 style key (16 bytes). Before you send the encrypted file, the
key must be written to the target using the FlashProgramOnce command. The SB key
begins at offset 0x30 in the program once registers.
For example, to program a key of 000102030405060708090A0B0C0D0E0F:
• FlashProgramOnce to index 0x30 with 4 bytes of 0x03020100
• FlashProgramOnce to index 0x31 with 4 bytes of 0x07060504
• FlashProgramOnce to index 0x32 with 4 bytes of 0x0B0A0908
• FlashProgramOnce to index 0x33 with 4 bytes of 0x0F0E0D0C
SB File Decryption Support
K32 L2A Reference Manual, Rev. 2, 01/2020
316
NXP Semiconductors
Содержание K32 L2A Series
Страница 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Страница 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Страница 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Страница 146: ...Module operation in low power modes K32 L2A Reference Manual Rev 2 01 2020 146 NXP Semiconductors...
Страница 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Страница 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Страница 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Страница 322: ...Kinetis Bootloader Status Error Codes K32 L2A Reference Manual Rev 2 01 2020 322 NXP Semiconductors...
Страница 344: ...Application initialization information K32 L2A Reference Manual Rev 2 01 2020 344 NXP Semiconductors...
Страница 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Страница 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Страница 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Страница 602: ...Initialization and application information K32 L2A Reference Manual Rev 2 01 2020 602 NXP Semiconductors...
Страница 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Страница 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Страница 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Страница 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Страница 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Страница 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Страница 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Страница 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Страница 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Страница 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Страница 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Страница 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...
Страница 1344: ...USB Voltage Regulator Module Signal Descriptions K32 L2A Reference Manual Rev 2 01 2020 1344 NXP Semiconductors...
Страница 1356: ...Initialization Application Information K32 L2A Reference Manual Rev 2 01 2020 1356 NXP Semiconductors...