FlexNVM partition for K10

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FlexNVM partition for K10

776件の閲覧回数
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 返信

645件の閲覧回数
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 件の賞賛
返信