S32K144 D-Flash and FlexRAM usage

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

S32K144 D-Flash and FlexRAM usage

Jump to solution
2,017 Views
paneri
Contributor III

Hi,

I am using s32k144 EVK board. I am trying to access FlexRAM memory 4kB and D-Flash memory 64kB in the same code. First I am writing data to FlexRAM, I checked in memory window the data is written but while writing data to D-Flash memory, in the memory window it is showing 0 which indicates data is not written to the D-Flash memory(Both memories I tried to access individual able to write/read data properly).
First I want to know whether it is possible to access both the memories from the same code?
If yes, please support how to achieve it. Kindly support.

Thanks & Regards,

Paneri

0 Kudos
1 Solution
1,968 Views
paneri
Contributor III

Thanks Daniel, for the information.

View solution in original post

0 Kudos
4 Replies
2,000 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Paneri,

I'm not sure if I understand.

What is the SIM_FCFG1[DEPART] value when you write to FlexRAM?

If the FlexRAM is used for the Emulated EEPROM, the FlexNVM flash block is not accessible by any master on the bus.

 

Best regards,

Daniel

0 Kudos
1,990 Views
paneri
Contributor III

The DEPART value is 0x8.

0 Kudos
1,981 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Thank you Paneri,

DEPART = 0x8 means 0KB of DFlash and 64KB of EEPROM backup (E-Flash) that cannot be accessed by the core or the debugger, the E-Flash is not mapped:

danielmartynek_0-1619001933952.png

 

Regards,

Daniel

 

 

0 Kudos
1,969 Views
paneri
Contributor III

Thanks Daniel, for the information.

0 Kudos