This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: about ECC function Test

Part Number: TMS570LS3137


Hello

 Team 

 I have a little doubt

1.Dose the flash and ram ecc function all realized by hardware?

2.the function SL_SelfTest_RAM(SRAM_ECC_ERROR_FORCING_1BIT)  and SL_SelfTest_Flash(FLASH_ECC_TEST_MODE_1BIT), What is the role?

   Does he test the hardware function through software?

  • Hello

    1. Yes, the ECC is calculated and checked by hardware. Hercules devices has on-chip diagnostic features: dual CPU in lockstep, CPU BIST, ECC on both flash and RAM.

    2. SL_SelfTest_RAM() can perform the following tests: 1-bit and 2-bit ECC error injection, address and control bus parity checking, redundant address decode checking

    3. SL_SelfTest_Flash can perform the diagnostic test listed in TRM: 1-bit and 2-bit ECC error injection, flash address parity self-test (fault injection), etc

  • Thank you 

    Check whether the ECC function is normal. Is it checked by this function “SL_SelfTest_Flash” “SL_SelfTest_RAM()”?

    Or check whether the ECC function is normal by other function.

    or in the sys_startup.c which functiion can check this ecc funtion

  • The Flash and SRAM are protected by Single Error Correction Double Error Detection (SECDED). The SECDED is disabled by default, so you need to enable it in sys_startup.c. The ECC logic can be tested using those two self-test functions.

    The self-test can be executed at startup or runtime.