RTEMS
5.1
|
TMS570 selftest support functions implementation. More...
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <bsp/tms570.h>
#include <bsp/tms570_selftest.h>
#include <bsp/tms570_hwinit.h>
Functions | |
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_efc_check_self_test (void) |
EFUSE module self check Driver (HCG:checkefcSelfTest) More... | |
uint32_t | tms570_efc_check (void) |
EFUSE module self check Driver (HCG:efcCheck) 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... | |
void | tms570_pbist_stop (void) |
Routine to stop PBIST test enabled (HCG:pbistStop) 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... | |
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_pbist_fail (void) |
Reaction to PBIST failure (HCG:pbistFail) More... | |
void | tms570_memory_init (uint32_t ram) |
Memory Initialization Driver (HCG:memoryInit) More... | |
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_enable_parity (void) |
Enable peripheral RAM parity (HCG:enableParity) More... | |
void | tms570_disable_parity (void) |
Disable peripheral RAM parity (HCG:disableParity) More... | |
Variables | |
volatile uint32_t *const | tms570_esm_group_channel_to_sr_table [4][2] |
TMS570 selftest support functions implementation.
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_memory_init | ( | uint32_t | ram | ) |
Memory Initialization Driver (HCG:memoryInit)
This function is called to perform Memory initialization of selected RAM's.
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.