S32K144 FlexRAM (EEPROM)partition

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

S32K144 FlexRAM (EEPROM)partition

671 Views
emb02
Contributor V

Hi,

I'm using S32K144 controller and I want to use FlexRAM memory for EEPROM storage.

I'm using 3 sections - Primary bootloader, secondary bootloader and firmware, so I want to partition FlexRAM memory for these 3 sections.

Eg.

In S32K144 Total 4KB memory is available for FlexRAM.

For primary bootloader - 512 Bytes 

For Secondary bootloader - 512 Bytes

For Firmware - 3 KBytes

I'm using 3 projects for this configuration so I'm not getting how to configure FlexRAM in each project.

Is there any reference code available for this?

 

Tags (3)
0 Kudos
Reply
1 Reply

636 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@emb02

First, the partitioning operation cannot divide the FlexRAM into multiple independent areas. In other words, you cannot perform three different partition operations on the MCU for three different projects; you can only perform a partition operation once. The partitioning operation will erase the contents of the E-Flash.

You can partition all 64KB of FlexNVM as E-Flash, allowing different projects to access FlexRAM.

Demo code:

1.you can find demo in S32 DS

2.AN11983

 

0 Kudos
Reply