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:
| Function | Diagnostic Mechanism | Use Case | Elapsed Time (μs)~ |
|---|---|---|---|
| DIAG_SRAM_Mbist() | SRAM_MARCH_LR | POST / OnDemand | 5002 |
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);
}
