FRDM-KL27Z kboot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FRDM-KL27Z kboot

跳至解决方案
1,357 次查看
neilhancock
Contributor IV

HI, is there a way of getting the FRDM-KL27Z to enter the kboot.

From the KL27Z ref manual I thought it was holding the NMI /SW1 down after Reset, but I can't seem to get that to work.

thanks

0 项奖励
回复
1 解答
1,068 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Neil Hancock:

Try entering the KBOOT USB HID mode with these steps:

1. Connect a USB cable from your PC to the J10 mini-USB connector on FRDM-K27Z.

2. Press and hold the reset button (SW2).

3. Press and hold the NMI button (SW1).

4. Release the Reset button (SW2).

Then you can also release the NMI button.

pastedImage_0.png

If you have not reprogrammed the default FOPT configuration in Flash, then with the steps above the KL27 should enumerate as USB HID device and stay in bootloader mode.

I hope this helps.


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,069 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Neil Hancock:

Try entering the KBOOT USB HID mode with these steps:

1. Connect a USB cable from your PC to the J10 mini-USB connector on FRDM-K27Z.

2. Press and hold the reset button (SW2).

3. Press and hold the NMI button (SW1).

4. Release the Reset button (SW2).

Then you can also release the NMI button.

pastedImage_0.png

If you have not reprogrammed the default FOPT configuration in Flash, then with the steps above the KL27 should enumerate as USB HID device and stay in bootloader mode.

I hope this helps.


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,068 次查看
neilhancock
Contributor IV

Many thanks - that worked for me. I thought I had tried all those steps to begin with - and for some reason that time it didn't work.

But its done it nicely now, and responded to

Kboot\FSL_Kinetis_Bootloader_1_2_0\bin\win\blhost.exe  -u -- get-property 17

Inject command 'get-property'

Response status = 0 (0x0) Success.

Response word 1 = 0 (0x0)

Flash Security State = UNSECURE

blhost.exe  -u -- get-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

and kudos to the developers for adding a JSON option

blhost.exe -u -j -- get-property 7

{

   "command" : "get-property",

   "response" : [ 7535 ],

   "status" : {

      "description" : "0 (0x0) Success.",

      "value" : 0

   }

}

0 项奖励
回复