This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3519: MSPM0G3519 - DATA REGION ACCESS

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.

image.png

I also made the required modifications in eeprom_emulation_type_a.c, replacing all occurrences of
DL_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.

image.png
 
Kindly let know how to fix this issue. 
 
My intention is to create 256 bytes the 2 independent sector (512 bytes) in DATA region. 
 
Regards,
SaKhan