S32k:NVM Skip Writing of Unchanged Data

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

S32k:NVM Skip Writing of Unchanged Data

跳至解决方案
627 次查看
ZEROOO
Contributor IV

Hi

    What does NVM do if the NVM module data does not change?I used FLASH_DRV_EEEWrite to write eeprom, and found that there is a code to write eeprom directly in FLASH_DRV_WaitEEWriteToFinish function.

    In the figure, line 1530 has the code to assign the eeprom address, here I want to know whether the operation will be repeated to this address (write)? Does this not affect the service life of the eeprom.

ZEROOO_0-1699955496715.png

    For the data that has not changed, how does NVM skip, what is the specific processing mechanism of this piece, is not FLASH_DRV_WaitEEWriteToFinish for this piece of assignment operation?

 

0 项奖励
回复
1 解答
573 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

This device use HW EEPROM emulation and access to FlexNVM is indirrect over FlexRAM address space. It is quite probable than if written data are equal to what is internally stored in FlexNVM in a record that stores that address, data are not written.
But I cannot answer definitely as EEPROM HW state machine is not openly documented.

在原帖中查看解决方案

3 回复数
612 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which specific device is your question related to?

0 项奖励
回复
580 次查看
ZEROOO
Contributor IV

Hi

    The chip is S32k144.

0 项奖励
回复
574 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

This device use HW EEPROM emulation and access to FlexNVM is indirrect over FlexRAM address space. It is quite probable than if written data are equal to what is internally stored in FlexNVM in a record that stores that address, data are not written.
But I cannot answer definitely as EEPROM HW state machine is not openly documented.