3.2.24.10 DIAG_SRAM

The DIAG_SRAM module is designed to verify the correct functionality of the SRAM through a set of C function calls.

The DIAG_SRAM software test API is mapped to the following safety mechanisms:

Table 3-26. 
FunctionDiagnostic MechanismUse CaseElapsed Time (μs)~
DIAG_SRAM_Mbist()SRAM_MARCH_LRPOST / OnDemand5002

Configuring the Diagnostic

DIAG_SRAM does not require additional configuration.

Using the Diagnostic

#include "diag_sram_common.h"
#include "diag_sram.h"

DIAG_TEST_STATUS DIAG_SRAM_Post ( void )
{
    return DIAG_SRAM_MBIST(HSRAM_ADDR, 0x1000);
}