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.

CCS/TMS570LC4357: How to generate a PBIST test program?

Part Number: TMS570LC4357


Tool/software: Code Composer Studio

I want to write a PBIST test program of the RAM with the ECC turned off.   How to achieve this from CSS?

  • Hello Xiangguang,

    For LC4357 device, please use the diagnostic library for SRAM PBIST. The API is SL_Selftest_PBIST(..).

    The example ccs project is located C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0\build\TMS570LC4357_NoOS

  • Hi QJ,

    Thanks for your prompt reply.   So here comes my follow up question:  Where to get information of all these libraries and API's?   Is there a document of all the available libraries and API's?

    Another question is:  Is it possible to turn off ECC for these tests?

    Thanks again.

  • Hello,

    L2RAM ECC is enabled by setting ECC_DETECT_EN filed in RAMCTRL. The Flash ECC (for TMS570LC4357) is enabled by default, and can not be disabled. 

    Please find the SDL(safety diagnostic library) user guide in SDL installation folder:

    C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0\docs