FlexNVM partition for K10

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FlexNVM partition for K10

608 Views
shouminliu
Contributor II

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

Labels (1)
0 Kudos
1 Reply

477 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos