Hello All,
I am trying to Integrate the SafeTI API to the TMS570LS1115 processor. But I have a TMS570LS12x Launchpad and I am performing initial development on it.
Currently. the SafeTI API source is integrated to the CCS project and I have enabled all the safety tests in HALCoGen. I can run the project and it executes perfectly.
My intention is to initially run all the tests on the processor to verify full processor operation and later will schedule tests to run periodically.
I would like to know a few things regarding the SafeTI usage and HALCoGen generated source.
- When I check the sys_startup.c file I can see many self-test functions are called by the HALCoGen generated code. I guess these are the Self Tests that I selected in HALCoGen and it has nothing to do with the SafeTI API. Am I correct?
- When I checked the sl_api.h I can see many functions which can perform similar self tests on the peripherals. Do I need to change the sys_startup.c file and include SafeTI API calls? Or do SafeTI self tests perform the same operation which is done by the HALCoGen generated SelfTests?
- During the reset stage, if any self test failed in the middle, how can I get which test actually failed? I think I will not be able to print it to console because we have not even reached the main function yet.
- When I checked sl_log.h file, I could find a "SL_Log_Error" function which obviously is designed to Log errors occurring during the Self Tests. For this API to work separate SECTION called LOG_DATA should be dedicated for Error Logs. How to do this? Is there any example for this?
- Is this LOG_DATA section in the RAM or in the FLASH? If it is in the RAM still how to retrieve the ErrorLog which is in that location?
- Apart from tests scheduled at the reset, we can configure tests to run in a periodic manner. In this case, what are the non-destructive APIs in the SafeTI library?
I hope that my questions are clear.
Thank yo


