We are using PDS_WriteUserData() and PDS_ReadUserData() functions to store data in NVM. When the devices boots first time after programming it is able to write data in Flash using PDS_WriteUserData() and we can read data after reset or POR.
But when we try to change the data on same location later on the PDS_WriteUserData() gives success and on using PDS_ReadUserData() we get the data which we just wrote, but on reset when we read the data is the default values not the new updated values from last update.
Config for PDS:---
#define APP_USE_PDS 1
#define PDS_ENABLE_WEAR_LEVELING 0
Rest are as there default values.