Hi @danielmartynek
- The partition configuration is stored in the Flash IFR which is not accessible
okay but every time I debug am loosing the partition config and data in E-flash, which locations i need to preserve to avoid this
Also here I see write function is consuming too much , is their any way to do it background ? here I see all are blocking calls. for writing 100bytes of data it consumes nearly 6.5ms for first time later it takes 3.2ms still it is high.

Testing using logic analyser by toggling the gpio before and after write function.
Main code:
for(i=0;i<=50;i++)
{
write[i]=i;
}
NvM_Init();
Dio_SetSignal(E_DIO_CH_LED2_DOH, DIO_HIGH );
NvM_WriteDataInSync( 0x14000000, write, sizeof(write), C_TRUE );
Dio_SetSignal(E_DIO_CH_LED2_DOH, DIO_LOW );
Write function:
address = EEEBASEADDRESS; /*TODO: Need to assign proper address*/
if(STATUS_SUCCESS != FLASH_DRV_EEEWrite(&flashSSDConfig, address, (uint32_t)size_u16, ramaddr_pu8))
{
rVal = E_Error;
}
if((verif_flag_u8) && (rVal == E_Ok))
{
while(size_u16>0)
{
/* Verify the written data */
if (*((uint8_t *)ramaddr_pu8) != *((uint8_t *)address))
{
/* Failed to write data to EEPROM */
rVal = E_Error;
}
address += 1U;
ramaddr_pu8 += 1U;
size_u16 -= 1U;
}
}