kylemanna
12/19/2016 - 6:04 PM

KL27 via Kinetis bootloader

KL27 via Kinetis bootloader

[90971.147974]hid-generic 0003:15A2:0073.0007: hiddev0,hidraw1: USB HID v1.00 Device [Freescale Semiconductor Inc. Kinetis Bootloader] on usb-0000:00:14.0-1/input0
~/t/N/b/T/b/l/amd64 ❯❯❯ for i in $(seq 1 24) ; do echo -e "\nGetting property $i"; ./blhost -u 0x15a2,0x0073 get-property $i; done

Getting property 1
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 1258356736 (0x4b010000)
Current Version = K1.0.0

Getting property 2
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 23 (0x17)
Available Peripherals = UART, I2C Slave, SPI Slave, USB HID

Getting property 3
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 0 (0x0)
Flash Start Address = 0x00000000

Getting property 4
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 262144 (0x40000)
Flash Size = 256 KB

Getting property 5
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 1024 (0x400)
Flash Sector Size = 1 KB

Getting property 6
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 2 (0x2)
Flash Block Count = 2

Getting property 7
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 7535 (0x1d6f)
Available Commands = flash-erase-all, flash-erase-region, read-memory, write-memory, flash-security-disable, get-property, execute, reset, set-property, flash-erase-all-unsecure

Getting property 8
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 9
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 10
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 1 (0x1)
Verify Writes Flag = ON

Getting property 11
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 32 (0x20)
Max Packet Size = 32 bytes

Getting property 12
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 0 (0x0)
Response word 2 = 0 (0x0)
Response word 3 = 536868864 (0x1ffff800)
Response word 4 = 536872583 (0x20000687)
Reserved Regions = Flash: 0x0-0x0 (0 bytes), RAM: 0x1FFFF800-0x20000687 (3.633 KB)

Getting property 13
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 1 (0x1)

Getting property 14
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 536862720 (0x1fffe000)
RAM Start Address = 0x1FFFE000

Getting property 15
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 32768 (0x8000)
RAM Size = 32 KB

Getting property 16
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 588651909 (0x23161d85)
System Device ID = 0x23161D85

Getting property 17
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 0 (0x0)
Flash Security State = UNSECURE

Getting property 18
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 19
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 20
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 21
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 22
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 23
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.

Getting property 24
Inject command 'get-property'
Response status = 10300 (0x283c) Unknown property.
~/t/N/b/T/b/l/amd64 ❯❯❯ ./blhost --version
blhost 2.0.0
Copyright (c) 2013-15 Freescale Semiconductor, Inc.
All rights reserved.