RTEMS
5.0.0
|
Definition of TMS570 selftest error codes, addresses and functions. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Enumerations | |
enum | pbistPort { PBIST_PORT0 = 0U, PBIST_PORT1 = 1U } |
Alias names for pbist Port number. More... | |
enum | { PBIST_TripleReadSlow = 0x00000001U, PBIST_TripleReadFast = 0x00000002U, PBIST_March13N_DP = 0x00000004U } |
Functions | |
uint32_t | tms570_efc_check (void) |
EFUSE module self check Driver (HCG:efcCheck) More... | |
bool | tms570_efc_check_self_test (void) |
EFUSE module self check Driver (HCG:checkefcSelfTest) More... | |
void | bsp_selftest_fail_notification (uint32_t flag) |
void | tms570_memory_port0_fail_notification (uint32_t groupSelect, uint32_t dataSelect, uint32_t address, uint32_t data) |
void | tms570_esm_channel_sr_clear (unsigned grp, unsigned chan) |
Routine to clear specified error channel signalling bit. More... | |
int | tms570_esm_channel_sr_get (unsigned grp, unsigned chan) |
Routine to test is specified error channel is signalling error. More... | |
void | tms570_pbist_self_check (void) |
PBIST self test Driver (HCG:pbistSelfCheck) More... | |
void | tms570_pbist_run (uint32_t raminfoL, uint32_t algomask) |
CPU self test Driver (HCG:pbistRun) More... | |
bool | tms570_pbist_is_test_completed (void) |
Checks to see if the PBIST test is completed (HCG:pbistIsTestCompleted) More... | |
bool | tms570_pbist_is_test_passed (void) |
Checks to see if the PBIST test is completed successfully (HCG:pbistIsTestPassed) More... | |
void | tms570_pbist_fail (void) |
Reaction to PBIST failure (HCG:pbistFail) More... | |
void | tms570_pbist_stop (void) |
Routine to stop PBIST test enabled (HCG:pbistStop) More... | |
void | tms570_enable_parity (void) |
Enable peripheral RAM parity (HCG:enableParity) More... | |
void | tms570_disable_parity (void) |
Disable peripheral RAM parity (HCG:disableParity) More... | |
bool | tms570_efc_stuck_zero (void) |
Checks to see if the EFUSE Stuck at zero test is completed successfully (HCG:efcStuckZeroTest). /. More... | |
void | tms570_efc_self_test (void) |
EFUSE module self check Driver (HCG:efcSelfTest) More... | |
bool | tms570_pbist_port_test_status (uint32_t port) |
Checks to see if the PBIST Port test is completed successfully (HCG:pbistPortTestStatus) More... | |
void | tms570_check_tcram_ecc (void) |
Check TCRAM ECC error detection logic (HCG:checkRAMECC) More... | |
Definition of TMS570 selftest error codes, addresses and functions.
anonymous enum |
enum pbistPort |
Alias names for pbist Port number.
This enumeration is used to provide alias names for the pbist Port number
Check the datasheet for the port avaiability
Enumerator | |
---|---|
PBIST_PORT0 | Alias for PBIST Port 0 |
PBIST_PORT1 | Alias for PBIST Port 1 < Check datasheet for Port 1 availability > |
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.
void tms570_disable_parity | ( | void | ) |
Disable peripheral RAM parity (HCG:disableParity)
This function disables RAM parity for all peripherals for which RAM parity check is enabled. This function is called after memoryInit in the startup
uint32_t tms570_efc_check | ( | void | ) |
EFUSE module self check Driver (HCG:efcCheck)
This function self checks the EFUSE module.
bool tms570_efc_check_self_test | ( | void | ) |
EFUSE module self check Driver (HCG:checkefcSelfTest)
This function returns the status of efcSelfTest. Note: This function can be called only after calling efcSelfTest
void tms570_efc_self_test | ( | void | ) |
EFUSE module self check Driver (HCG:efcSelfTest)
This function self checks the EFSUE module.
bool tms570_efc_stuck_zero | ( | void | ) |
Checks to see if the EFUSE Stuck at zero test is completed successfully (HCG:efcStuckZeroTest). /.
Checks to see if the EFUSE Stuck at zero test is completed successfully.
void tms570_enable_parity | ( | void | ) |
Enable peripheral RAM parity (HCG:enableParity)
This function enables RAM parity for all peripherals for which RAM parity check is enabled. This function is called before memoryInit in the startup
void tms570_esm_channel_sr_clear | ( | unsigned | grp, |
unsigned | chan | ||
) |
Routine to clear specified error channel signalling bit.
[in] | grp | - ESM error channels group |
[in] | chan | - ESM error channel number inside specified group |
int tms570_esm_channel_sr_get | ( | unsigned | grp, |
unsigned | chan | ||
) |
Routine to test is specified error channel is signalling error.
tms570_esm_channel_sr_get
[in] | grp | - ESM error channels group |
[in] | chan | - ESM error channel number inside specified group |
void tms570_pbist_fail | ( | void | ) |
Reaction to PBIST failure (HCG:pbistFail)
bool tms570_pbist_is_test_completed | ( | void | ) |
Checks to see if the PBIST test is completed (HCG:pbistIsTestCompleted)
Checks to see if the PBIST test is completed.
bool tms570_pbist_is_test_passed | ( | void | ) |
Checks to see if the PBIST test is completed successfully (HCG:pbistIsTestPassed)
Checks to see if the PBIST test is completed successfully.
bool tms570_pbist_port_test_status | ( | uint32_t | port | ) |
Checks to see if the PBIST Port test is completed successfully (HCG:pbistPortTestStatus)
[in] | port | - Select the port to get the status. |
Checks to see if the selected PBIST Port test is completed successfully.
void tms570_pbist_run | ( | uint32_t | raminfoL, |
uint32_t | algomask | ||
) |
CPU self test Driver (HCG:pbistRun)
[in] | raminfoL | - Select the list of RAM to be tested. |
[in] | algomask | - Select the list of Algorithm to be run. |
This function performs Memory Built-in Self test using PBIST module.
void tms570_pbist_self_check | ( | void | ) |
PBIST self test Driver (HCG:pbistSelfCheck)
This function is called to perform PBIST self test.
void tms570_pbist_stop | ( | void | ) |
Routine to stop PBIST test enabled (HCG:pbistStop)
This function is called to stop PBIST after test is performed.