Hello @rijil_kp,
Any single-bit ECC errors are automatically corrected, and any double-bit ECC errors are reflected onto FERSTAT[DFDIF] flag at the read access from Data Flash or Program Flash. This double-bit ECC error is reported by bus fault/hard fault handler. There isn't any configuration for report the ECC flash error in EB Tresos, unfortunately.
Best Regards,
Nam