FRDM-KL27Z kboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM-KL27Z kboot

Jump to solution
735 Views
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 Kudos
1 Solution
446 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
447 Views
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 Kudos
446 Views
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 Kudos