How to erase the FLBPR setting in K60?

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

How to erase the FLBPR setting in K60?

跳至解决方案
807 次查看
kkkk
Contributor II

I am trying to use AN2295 bootloader on MK60FN1M0VLQ12. When I use the bootloader code, I make a mistake to enable "BOOTLOADER_FLASH_PROTECTION = 1" and I load this bootloader code into K60.

I think it enable FLBPR. When I try to disable "BOOTLOADER_FLASH_PROTECTION ", the IAR can't load

the new compiled code into K60. There is only bootloader code without user application code in K60.

How do I erase the FLBPR to load the new bootloader code and user application code?

标记 (2)
1 解答
633 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

The "BOOTLOADER_FLASH_PROTECTION = 1" will protect bootloader ROM with modify Flash configuration field addrss 0x408~0x40B values.

Customer can use JTAG debugger tool do mass erase to remove Flash configuration field Flash protection value, even though Flash configuration field address is protected.

Such as using Segger J-Link tool, at J-Link Commander tool to run "unlock Kinetis" command.


Wish it help.

best regards,
Ma Hui

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

在原帖中查看解决方案

2 回复数
634 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

The "BOOTLOADER_FLASH_PROTECTION = 1" will protect bootloader ROM with modify Flash configuration field addrss 0x408~0x40B values.

Customer can use JTAG debugger tool do mass erase to remove Flash configuration field Flash protection value, even though Flash configuration field address is protected.

Such as using Segger J-Link tool, at J-Link Commander tool to run "unlock Kinetis" command.


Wish it help.

best regards,
Ma Hui

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

633 次查看
kkkk
Contributor II

It works. Thanks a lot for help.

0 项奖励