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.

TMS570LC4357: Implementing periodic Safety Library Tests into main application

Part Number: TMS570LC4357


Good day,

I am having trouble implementing the SL_SelfTest_DMA test of the Safety Library in the main application of my project. Shown in the demo_app of the SafeTI Diagnostic Library (v2.4.0) HL_sys_main.c, the symbols "dma_2bit_faultinject_callback" and "dma_1bit_faultinject_callback" in that file are undefined and cannot be found anywhere in the library.

I am using the TMS570LC43x MCU.

Thank you. 

Best regards, 

Joseph

  • Hi Joseph,

    They were declared in "C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0\demo_app\common\source\esm_application_callback.c" file:

    --
    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    Thank you for your reply. I saw that the "C:\ti\Hercules\SafeTI Diagnostic Library\2.4.0\demo_app\common\source" folder has other source files inside, do I need to include them into my Safety Library folder to perform the safety tests in my project?

    Also, I see that the demo_app has given two different examples for running the safety tests in the main(), one in HL_sys_main.c and another in app_main_NoOS.c. I am confused to which example I should follow to incorporate into my project main application to run the periodic tests.

    Best regards, 

    Joseph

  • Hi Joseph,

    Yes, i think you need to include source and header files in both common and as well as safety_library folder to execute safety related tests using SafeTI library.

    --
    Thanks & regards,
    Jagadish.