Hi,
Migrating from PlatformSDK_S32K3_2022_03 and S32DesginStudio 3.4 toS32K3 Real-Time Drivers AUTOSAR R21-11 Version 5.0.0 and S32DesignStudio 3.6. Previously we had problems with ECC errors triggering a Hard fault exception on startup if a memory write was abruptly aborted by a power failure for instance. Can be read about here:
Abnormal power down causing the Dflash area S32K342-MCAL
and
S32K3 Fee data corrupt causing hardfault
together with example of how to counter act the triggered exception which was to basically clear the error and move stack pointer. However, the example is for an older RTD and doesn't seem to be applicable any longer due to missing functions and defines in the C40_Ip module.
Is this now handled in the RTD itself to take care of ECC errors on startup and not triggering a hard fault exception as previously? If a hard fault exception is still triggered due to ECC errors how shall this be handled for newer RTD versions, is there an updated example?
Regards,
Erik