CodeWarrior/PE fails to partition FlexNVM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior/PE fails to partition FlexNVM

Jump to solution
1,009 Views
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

Labels (1)
0 Kudos
1 Solution
748 Views
TICS_Fiona
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
2 Replies
749 Views
TICS_Fiona
NXP Employee
NXP Employee

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

0 Kudos
748 Views
shouminliu
Contributor II

Xin,

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

--SL

0 Kudos