FlexRAM as EEPROM

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

FlexRAM as EEPROM

2,461 Views
mevon
Contributor II

Hello,

I would like to have more help on the subject of FlexRAM as EEPROM. I am using a K20DX256 and Kinetis Design Studio (KDS) and I would like to use the FlexRAM + FlexNVM + EEEController to store some data with endurance as a normal EEPROM would be.

From AN4282 : Using the Kinetis Family Enhanced EEPROM Functionality :

“How FlexMemory EEE works

To provide enhanced EEPROM functionality, the FlexMemory uses a RAM block (FlexRAM), a flash

block (FlexNVM), and EEE state machine. When the EEE functionality is enabled, the FlexRAM becomes

your EEE memory. The FlexRAM address space is where you access all of your EEE data. When the EEE

is accessed, the EEE state machine keeps track of the data and backs it up as data records, stored in some

portion of the FlexNVM used as an E-flash. Using a large block of E-flash to back up the data for a smaller

amount of EEE data allows the FlexMemory EEE implementation to offer extremely high endurance.

My guess is I need to access the FlexRAM to access the FlexNVM and from the Reference Manual,  FlexRAM address range = 0x1400_0000 – 0x1400_07FF.

I think I have all the bits configured right in the CPU component of Processor Expert regarding the Flex Memory Settings and the configuration of the ROM/RAM areas in the Build Options tab too.

My trouble resides in the way of writting and reading the data in the FlexRAM, anyone has a clue on how to proceed? And if there are PExp componants already made for this purpose?

Thanks in advance,

MH

(I have already consulted and posted here: https://community.freescale.com/thread/328422)

0 Kudos
2 Replies

725 Views
soledad
NXP Employee
NXP Employee

Hi,  

Please, send your post to kinetis community (e.g. Kinetis Microcontrollers ) to get it visible for active members.

Regards

Soledad

0 Kudos

725 Views
mevon
Contributor II

Thank you very much! I was wondering about that, I guess I'm lucky you helped me!

Mike

0 Kudos