How do write the data to the flash memory in s32k148

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

How do write the data to the flash memory in s32k148

跳至解决方案
1,915 次查看
joshfx
Contributor II

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

标签 (1)
0 项奖励
回复
1 解答
1,892 次查看
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 回复数
1,893 次查看
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,882 次查看
joshfx
Contributor II
How can i read data
0 项奖励
回复
1,873 次查看
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 项奖励
回复
1,909 次查看
joshfx
Contributor II

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

0 项奖励
回复