How to erase the Sector containing Flash Config bits from Flash drivers?

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

How to erase the Sector containing Flash Config bits from Flash drivers?

503 次查看
virendrakumar
Contributor I

Kinetis Microcontrollers : KEAZ64 Kinetics M0+ 

My task is to Re-flash the boot loader residing from 0x00000 to 0xFBFF using an Application which resides at 0x5E00.

When I am erasing all sectors from 0x00000 to 0xFBFF using flash drives in Application code.

The device becomes unresponsive after Erase.

I am suspecting the corruption of Flash config bits at 0x400 to ox40F.

Please let me know if I have to take any special care for erasing this particular sector using flash drivers or the problem is somewhere else.

0 项奖励
1 回复

314 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Virendra Kumar 

If your Application resides in 0x5E00, then when you erase all sectors from 0x00000 to 0xFBFF, you are eraseing also your application. If you bootloader was programmed in seccion 0x0000 to 0xFBFF, then it shouldn't be overlapping with your application.

Hope this could help
Have a great day,
TIC

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

0 项奖励