Hi@Neelesh_Pandey
You need to determine whether the current MCU has performed a partition operation, if the current MCU has been partitioned, you can first use the debugger to mass erase the MCU first.
"ret = FLASH_DRV_DEFlashPartition(&flashSSDConfig, 0x0Fu, 0x03u, 0x0u, false, false);"
You set the EEPROM size to 0, but the EEPROM backup area is set to 32kbyte, which should be unreasonable.
This should be more reasonable
"ret = FLASH_DRV_DEFlashPartition(&flashSSDConfig, 0x0Fu, 0x0u, 0x0u, false, false);"
Secondly, please note that the FTFC operation should be placed in RAM to avoid EWW errors, and also pay attention to turning off interrupts when erasing.