Thanks a lot,
I understood sir, please help me some new problem I faced, I am using E-Flash in my project.
I did,
EEEDataSizeCode = 0x02u: EEPROM size = 4 Kbytes
DEPartitionCode = 0x03u: EEPROM backup size = 32 Kbytes.
It is working fine , after power off also i am getting my data. Till this I completed.
My problem is , if i change anything in my code, I loose EEPROM partition and data.
I have to do partition again.
If I am not changing anything everything ok. So how to deal with this ,
ret = FLASH_DRV_DEFlashPartition(&flashSSDConfig, 0x02u, 0x03u, 0x0u, false, true);
DEV_ASSERT(STATUS_SUCCESS == ret);
/* Re-initialize the driver to update the new EEPROM configuration */
ret = FLASH_DRV_Init(&Flash_InitConfig0, &flashSSDConfig);
DEV_ASSERT(STATUS_SUCCESS == ret);
/* Make FlexRAM available for EEPROM */
ret = FLASH_DRV_SetFlexRamFunction(&flashSSDConfig, EEE_ENABLE, 0x00u, NULL);
DEV_ASSERT(STATUS_SUCCESS == ret);
please help me how to solve and if u have any example for only EEPROM backup attach the link also.
Thank you.