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.

HALCOGEN: Self test implementation using SafeTI Diagnostic Library

Part Number: HALCOGEN

Hi,

My customer wants to implement self test functions using HalCoGen.
According to the original thread (linked above), it seems self test generation is not supported for RM57Lx by HalCoGen.
Instead, the answer recommends to use SafeTI Diagnostic Library APIs.

Customer checked docs folder under
\ti\Hercules\SafeTI Diagnostic Library\2.3.1
But it is not clear enough how to use it.

Could you explain how to implement self test functions using SafeTI Diagnostic Library to HalCoGen project step by step?

Thanks and regards,
Koichiro Tashiro

  • Hello Koichiro,

    The latest rev of safeti diagnostic library is 2.4. Please update to the latest version.

    There are several demos in the library folder. The app_main_NoOS.c has some examples of using the API. For example

    retVal = SL_SelfTest_CCMR5F(CCMR5F_CPUCOMP_SELF_TEST, TRUE, &failInfoCCMR5F);
    INCREMENT_PASS_FAIL_COUNTER(failInfoCCMR5F.stResult, retVal);

    app_main_NoOS.c