CodeWarrior/PE fails to partition FlexNVM

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

CodeWarrior/PE fails to partition FlexNVM

ソリューションへジャンプ
1,337件の閲覧回数
shouminliu
Contributor II

Hello!

 

I am using the MK10DX128VLH5 and would like to use its enhanced EEPROM (EEE) to store 4-byte data. I used CodeWarrior's Component Inspector to enable the EEPROM function. The Processor Expert did generated relevant methods, such as Cpu_SetFlexNVMPartition(). However, after I called this function in main(), it failed to partition the FlexNVM correctly.

 

  1. The returned code of Cpu_SetFlexNVMPartition() was not what is expected per the EEE configuration.
  2. FTFL_FCNFG is 02h, which means FlexRAM is available as traditional RAM only and EEE is not vailable.
  3. As a result, I was able to read from or write to FlexRAM (1400_0000h), but the data there were lost after power cycling.

 

I have attached my CodeWarrior (ver 10.6) project as a reference. Please kindly review and let me know how I can enable the EEE and store data there. I will be very appreciative if you could help at your earliest convenience. Thank you in advance.

 

--SL

Original Attachment has been moved to: EEE_Test.zip

ラベル(1)
0 件の賞賛
返信
1 解決策
1,076件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

It seems to be the same question with your SR#1-3303911691?

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,077件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

It seems to be the same question with your SR#1-3303911691?

0 件の賞賛
返信
1,076件の閲覧回数
shouminliu
Contributor II

Xin,

Yes, it is. Could you help me with it? Thank you.

--SL

0 件の賞賛
返信