How do write the data to the flash memory in s32k148

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

How do write the data to the flash memory in s32k148

跳至解决方案
2,022 次查看
joshfx
Contributor II

what is the problem?Screenshot 2023-02-21 092953.png

标签 (1)
0 项奖励
回复
1 解答
1,999 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @joshfx,

Instead of FLASH_DRV_EEEWrite(), use FLASH_DRV_Program().

The FLASH_DRV_EEEWrite() is for the emulated EEPROM (FlexRAM in EEPROM mode) only.

 

Regards,

Daniel

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,000 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @joshfx,

Instead of FLASH_DRV_EEEWrite(), use FLASH_DRV_Program().

The FLASH_DRV_EEEWrite() is for the emulated EEPROM (FlexRAM in EEPROM mode) only.

 

Regards,

Daniel

0 项奖励
回复
1,989 次查看
joshfx
Contributor II
How can i read data
0 项奖励
回复
1,980 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

There is no API for reading the flash.

You can simply use a pointer to the flash location.

 

Regards,

Daniel

0 项奖励
回复
2,016 次查看
joshfx
Contributor II

I want to write a random data to spesific address in the flash memory but i can't

0 项奖励
回复