FlexNVM partition for K10

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

FlexNVM partition for K10

758 次查看
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

标签 (1)
0 项奖励
回复
1 回复

627 次查看
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 项奖励
回复