2046872_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2046872_en-US

2046872_en-US

When using Flash to emulate EEPROM, the data is only written to FlexRAM and not to FlexNVM
When using the Flash EEPROM emulation feature of the S32K146 chip, I configured 32KB of FlexNVM as EEPROM Backup and 2KB of FlexRAM as EEPROM. During emulation, upon checking the memory, I found that the written data only resides in FlexRAM and has not been written to FlexNVM.
I am unsure of the reason behind this and would appreciate any assistance.
Re: When using Flash to emulate EEPROM, the data is only written to FlexRAM and not to FlexNVM

Hi@813270556

This is not feasible

Re: When using Flash to emulate EEPROM, the data is only written to FlexRAM and not to FlexNVM

@Senlent 

FlexRAM is used as EEPROM (with a size of 4KB), and FlexNVM is used as EEPROM Backup (with a size of 32KB). The chip I am using is S32K146.

When I write data, can the size of the written data exceed 4KB?

If so, how can the data exceeding 4KB be read from FlexNVM?

Re: When using Flash to emulate EEPROM, the data is only written to FlexRAM and not to FlexNVM

Hi@813270556

After the MCU is powered off and restarted, FlexNVM can synchronize the backed-up data to the FlexRAM area. You can use this principle to confirm whether your last backup was successful.

Re: When using Flash to emulate EEPROM, the data is only written to FlexRAM and not to FlexNVMHow can I prove that the data I have written has been backed up to FlexNVM?Re: When using Flash to emulate EEPROM, the data is only written to FlexRAM and not to FlexNVM

Hi@813270556

After successfully executing the EEE partition command,the FlexNVM area (EEE_Flash) used as EEE backup is not visible to the CPU, and user code cannot directly access (read and write) this address mapping area, otherwise a bus error will occur and enter the kernel HardFault exception (default configuration) or BusFault exception (after using BusFault exception).
At the same time, in the Memory window of the debug interface, the EEE_Flash area is displayed as an unknown state (???).
https://mp.weixin.qq.com/s?__biz=MzI0MDk0ODcxMw==&mid=2247486584&idx=1&sn=3b8651b928edd19c642b17838a...
タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 08:30 PM
更新者: