RTEMS  5.1
Macros | Functions
tms570_tcram_tests.c File Reference

TCRAM selftest function. More...

#include <stdint.h>
#include <bsp/tms570.h>
#include <bsp/tms570_selftest.h>
#include <bsp/tms570_hwinit.h>

Macros

#define tcramA1bitError   (*(volatile uint32_t *)(0x08400000U))
 
#define tcramA2bitError   (*(volatile uint32_t *)(0x08400010U))
 
#define tcramB1bitError   (*(volatile uint32_t *)(0x08400008U))
 
#define tcramB2bitError   (*(volatile uint32_t *)(0x08400018U))
 
#define tcramA1bit   (*(volatile uint64_t *)(0x08000000U))
 
#define tcramA2bit   (*(volatile uint64_t *)(0x08000010U))
 
#define tcramB1bit   (*(volatile uint64_t *)(0x08000008U))
 
#define tcramB2bit   (*(volatile uint64_t *)(0x08000018U))
 

Functions

void tms570_check_tcram_ecc (void)
 Check TCRAM ECC error detection logic (HCG:checkRAMECC) More...
 

Detailed Description

TCRAM selftest function.

Function Documentation

◆ tms570_check_tcram_ecc()

void tms570_check_tcram_ecc ( void  )

Check TCRAM ECC error detection logic (HCG:checkRAMECC)

This function checks TCRAM ECC error detection and correction logic. The function does not return in case of TCRAM error. It calls bsp_selftest_fail_notification() instead.