How to destroy a partition when FLASH_DRV_DEFlashPartition is used (without CSEc enabled)

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

How to destroy a partition when FLASH_DRV_DEFlashPartition is used (without CSEc enabled)

跳至解决方案
873 次查看
baichuan
Contributor II

Hi

like the Subject said, FLASH_DRV_DEFlashPartition(without CSEc enabled) called in the existing code, we need to destroy the partition and repartition it(CSEc enabled) and LoadKey to CSEc. 

Currently we use j-flash to erase the chip, the borad will be unsecure, So we still have to unlock the device. And then do repartition and LoadKey to CSEc.

Is there any other way to repartition?

Thanks

标记 (1)
0 项奖励
回复
1 解答
859 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @baichuan,

If the MCU has been partitioned with CSEc disabled, the partition can be removed by Mass Erase.

You should see DEPART register in its default state after the Mass Erase.

Then, it can be partition again with CSEc enabled.

 

BR, Daniel

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
860 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @baichuan,

If the MCU has been partitioned with CSEc disabled, the partition can be removed by Mass Erase.

You should see DEPART register in its default state after the Mass Erase.

Then, it can be partition again with CSEc enabled.

 

BR, Daniel

 

0 项奖励
回复