I met some confusion when I used Diagnostic Library.I used tms570ls3137.
I have already read the "SafeTIDiagnosticLibrary-User'sGuide-v2.1.0.chm".And I tried to execute the "demo_app".But I found the sys_startup.c of demo was not as the same as the sys_startup.c which was generated by HCG.exe.Most codes were changed by #if 0 #endif.And I could not find any explanations for why should do like that.And though I delete all codes in main function.It still got an error in group3 and error pin was the low state.I do not know where to inject fault? In main function?In sys_startup?
I tried to use Self Tests and Fault Injection API and read "safety manual to api mapping" to use some function in main function.But it might not work.I just want to use api to inject fault and verify the fault is whether I inject or not.And to verify the fault handling.
How to use the API?Just call the single API function in the main function?Or need some config?