Part Number: MSPM0G3519
Hi,
I want to store our system's critical data in the NVM data region instead of the main flash memory.
I have reviewed the eeprom_emulation_type_a example. In that example, I modified the address, sector size, and record size in eeprom_emulation_type_a.h.
Please refer to the screenshot below.

I also made the required modifications in eeprom_emulation_type_a.c, replacing all occurrences ofDL_FLASHCTL_REGION_SELECT_MAIN with DL_FLASHCTL_REGION_SELECT_NONMAIN in order to store the data in the data region.
However, when I ran the program, I encountered an error during the EEPROM initialization stage.
The EEPROMEmulationState was set to EEPROM_EMULATION_INIT_ERROR.
Therefore, the initialization failed.


