S32K144 D-Flash and FlexRAM usage

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

S32K144 D-Flash and FlexRAM usage

跳至解决方案
2,050 次查看
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 项奖励
1 解答
2,001 次查看
paneri
Contributor III

Thanks Daniel, for the information.

在原帖中查看解决方案

0 项奖励
4 回复数
2,033 次查看
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 项奖励
2,023 次查看
paneri
Contributor III

The DEPART value is 0x8.

0 项奖励
2,014 次查看
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 项奖励
2,002 次查看
paneri
Contributor III

Thanks Daniel, for the information.

0 项奖励