MKL27Z644 Bootloader

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

MKL27Z644 Bootloader

1,074 Views
dusek_martin
Contributor IV

Hi,

I have NXP_Kinetis_Bootloader_2_0_0 and I would like to create flash resident bootloader (with USB HID interface) for MKL27Z644 device. Unfortunately, it seems there is not sufficient support for it (NXP_Kinetis_Bootloader_2_0_0/targets doesn't contain my device).

Where can I get support for MKL27Z644? I don't want to implement that support myself as I don't understand all low level initialization stuff for bootloader and for my device.

Thanks

Labels (1)
0 Kudos
6 Replies

856 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello Martin,

 

MCUBOOT does not provide flash resident bootloader because KL27 already have on chip ROM bootloader, maybe this can be useful for you.

 

Please refer to the following document.

 

https://www.nxp.com/webapp/Download?colCode=KBTLDRUG

 

Also please check chapter 13 of reference manual.

 

https://www.nxp.com/docs/en/reference-manual/KL27P64M48SF2RM.pdf

 

I hope this helps!

 

Have a great day,
Felipe

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

856 Views
dusek_martin
Contributor IV

Hi Felipe and thank you for your answer.

Is there a source code for ROM bootloader.

Recently I used your bootloader for MK20FN512VLL12 but I had to modify kCommandsAllowedWhenSecure - I add there erase region and write commands. Otherwise I was not able to update firmware of secured MK20FN512VLL12 (I used Kinetis Flash Tool to connect to bootloader). Does ROM bootloader support update of secured device?

0 Kudos

856 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Martin,

 

Unfortunately, we do not provide source code for ROM bootloader. Regarding the update of secured device, the KL27 based ROM bootloader does not include any security feature.

 

Best regards,

Felipe

0 Kudos

856 Views
mjbcswitzerland
Specialist V


Hi Martin

https://www.utasker.com/kinetis/FRDM-KL27Z.html

KL27Z64 Kboot UART, KBOOT USB-HID + USB-MSD loader. As binary, or to build yourself.

Regards

Mark

[uTasker project developer for Kinetis and i.MX RT]

0 Kudos

856 Views
dusek_martin
Contributor IV

Thanks Mark, but this is commercial project, we don't want to pay additional fees. Also, as I have made some changes to NXP's bootloader code, I don't want to reimplement these. So I wold like to stay with NXP bootloader. Hopefully they can provide support for MKL27Z644.

0 Kudos

856 Views
mjbcswitzerland
Specialist V

Martin

This is open source on Git hub for those who don't need support.

The kboot command interface is the same as in the NXP code so if you have changed this before you would have no difficulty placing your modifications there.

Regards

Mark

[uTasker project developer for Kinetis and i.MX RT]

0 Kudos