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)

ソリューションへジャンプ
607件の閲覧回数
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 解決策
593件の閲覧回数
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 返信
594件の閲覧回数
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 件の賞賛