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
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.
-------------------------------------------------------------------------------
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?
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
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]
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.
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]