In our project, I want to store some configuration into EEPROM of the MCU, I check the sample code of flash_partitioning.
The code can write the data into EEPROM:
address = flashSSDConfig.EERAMBase;
size = sizeof(uint32_t);
ret = FLASH_DRV_EEEWrite(&flashSSDConfig, address, size, sourceBuffer);
DEV_ASSERT(STATUS_SUCCESS == ret);
But after reset the MCU, read the data is always 0xff.
My question is:
1. Is the data write into EEPROM with the example project?
2. How to read out the data in EEPROM, I cannot find the read function in flash_driver.c
Please help me, thanks