K64 save data

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,304件の閲覧回数
edgarmosqueda
Contributor I

Hi everybody.

I'm working with a k64FN1M0, I'm traying to store data in the flex memory, when my program is running the following line:

while(!(FTFE_FCNFG & FTFE_FCNFG_EEERDY_MASK));

The program fall into an endless loop, I saw the FTFE_FCNFG register always is 0x06 and I can't change it, ´cause the register is only read.

Please, would you like to help me about it?. 

Thanks.

Kind Regards.
Edgar Mosqueda.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,143件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Edgar mosqueda,

   This question is the same as the case, and I already reply you in the case.

  Please note, K64FN1M0 chip don't have the flexNVM module, it just have the Pflash, it doesn't have the EEPROM function.
So, you need to store the data in the flash according address directly, just operate the flash, not the EEPROM.
K64FN1M0 don't have eeprom function.
K64FX512XX have the flexNVM and the eeprom function.

EEERDY bit for devices without FlexNVM is reserved.

pastedImage_1.png

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,143件の閲覧回数
edgarmosqueda
Contributor I

ok, thanks Kerry.

0 件の賞賛
返信
1,143件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Edgar Mosqueda,

   You are welcome.

  If you still have question, please let me know!

  If your question is solved, please help to mark the correct answer to close this case.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,144件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Edgar mosqueda,

   This question is the same as the case, and I already reply you in the case.

  Please note, K64FN1M0 chip don't have the flexNVM module, it just have the Pflash, it doesn't have the EEPROM function.
So, you need to store the data in the flash according address directly, just operate the flash, not the EEPROM.
K64FN1M0 don't have eeprom function.
K64FX512XX have the flexNVM and the eeprom function.

EEERDY bit for devices without FlexNVM is reserved.

pastedImage_1.png

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信