CodeWarrior/PE fails to partition FlexNVM

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

CodeWarrior/PE fails to partition FlexNVM

跳至解决方案
1,313 次查看
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,052 次查看
TICS_Fiona
NXP Employee
NXP Employee

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,053 次查看
TICS_Fiona
NXP Employee
NXP Employee

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

0 项奖励
回复
1,052 次查看
shouminliu
Contributor II

Xin,

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

--SL

0 项奖励
回复