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
Solved! Go to Solution.
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
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