How to validate RAM check after startup on s32k312 board? Do we have any modules or registers which we can validate for RAM CHECK during startup.
We are working with Autosar modules and till now we couldn't find any API's for RAM check. While doin it manually, we are getting exceptions.
Can someone help here?
Hi @harsh_95,
All memories for S32K3 include error detection and error correction code (ECC). SRAM memory must be initialized to avoid any ECC errors, and this can be done by the core or the DMA as well.
You can refer to AN13388, which describes all memory features for the device. Specifically, section 5 shows how to initialize the SRAM via DMA.
Added to this, you can also look into the Safety Peripheral Drivers (SPD). These drivers include the BIST Manager and the eMcem modules. BIST provides a memory built in self-test (MBIST) for safety boot and diagnostics, while eMcem provides fault detection and memory error correction.
Best regards,
Julián