Hello,
the simplest way is to directly configure FCCU via FCCU registers.
Once there is any RAM of Flash error reported by memories, it will be latched in FCCU status register.
Depending on the FCCU configuration you can trigger:
1. reset
2. interrupt
3. no reaction
If the fault is enabled and the Alarm interrupt it triggered you can read in ISR the root cause of the fault and take appropriate action.
Basically you don't need any driver as it is simple static configuration of few registers.
For more details you can refer to functional description chapter in FCCU in reference manual.
Best regards,
Peter