Hi @TWL,
Could you please verify whether the sector is erased before programming?
Also, which S32K3xx device are you using, and what version of the RTD driver is currently in use?
To help us investigate further, please share the .xdm files from your Tresos configuration, along with the main.c file containing all the FLS-related function calls.
Regards,
Daniel