Change bootloader in ROM

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

Change bootloader in ROM

跳至解决方案
1,486 次查看
thiagopalmieri
Contributor III

Hello all,

Is it possible to edit/change the bootloader stored in ROM on a MKL43 or MKL27?

If that is possible, where can I find an example/document describing the process?

Thx

0 项奖励
回复
1 解答
1,138 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Thiago Palmieri,

  No, you can't put your own bootloader in the ROM, the ROM already have the definite bootloader and can't be erased before out of factory.

If you want to use the customized bootloader, you should put it in the front of the flash, just like the old kinetis chip which don't have the ROM bootloader.

Wish it helps you!

If you still have question, please contact with me!


Have a great day,
Jingjing

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,138 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Thiago Palmieri,

    KL43 and KL27 already have the ROM bootloader, it supports USB,I2C,SPI and LPUART peripheral interfaces, you don't need to use the flash bootloader again.

When you use the ROM bootloader, just make sure your MCU is boot from ROM,  You can check your flash address 0X40D(FTFA_FOPT), bit 7-6 indicator the boot source selection.

About the example and document, please refer to kinetis bootloader1.2.0, the link is:  www.freescale.com/KBOOT

Wish it helps you!

If you still have question, please contact me!


Have a great day,
Jingjing

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

0 项奖励
回复
1,138 次查看
thiagopalmieri
Contributor III

Hello Jingjing,

Yes, I know they have a default bootloader already stored in ROM.

But I want to know if it is possible to write my own customized bootloader and replace the original bootloader in ROM, is that possible? Or in case I need a customized bootloader I will need to use part of the FLASH to store it?

Thanks,

Thiago

0 项奖励
回复
1,139 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Thiago Palmieri,

  No, you can't put your own bootloader in the ROM, the ROM already have the definite bootloader and can't be erased before out of factory.

If you want to use the customized bootloader, you should put it in the front of the flash, just like the old kinetis chip which don't have the ROM bootloader.

Wish it helps you!

If you still have question, please contact with me!


Have a great day,
Jingjing

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

0 项奖励
回复
1,138 次查看
thiagopalmieri
Contributor III

Yes, That is what I thought, but was hoping for a different answer.

Thanks !

0 项奖励
回复