Hello!
I assume K10 FlexNVM will not lose partition during loss of power. Is this right? Upon POR, what registers (addresses) can the code use to check if FlexNVM has been partitioned? Thank you.
--SL
Hi,
Yes, the K10 FlexNVM partition doesn't loss without power.
Customer can check SIM_FCFG1 register [DEPART] to check if FlexNVM been partitioned or not, below code shows more detailed info:
/* Test to make sure the device is not already partitioned. If it | |
* is already partitioned, then return with no action performed. | |
*/ | |
if ((SIM_FCFG1 & SIM_FCFG1_DEPART(0xF)) != 0x00000F00) | |
{ | |
printf("\nDevice is already partitioned.\n"); | |
return 0; | |
} |
Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------