SPNU615B April   2015  – January 2020 RM42L432 , RM44L520 , RM44L920 , RM46L430 , RM46L440 , RM46L450 , RM46L830 , RM46L840 , RM46L850 , RM46L852 , RM48L530 , RM48L540 , RM48L730 , RM48L740 , RM48L940 , RM48L950 , RM48L952 , RM57L843 , TMS570LC4357 , TMS570LC4357-EP , TMS570LC4357-SEP , TMS570LS0332 , TMS570LS0432 , TMS570LS0714 , TMS570LS0714-S , TMS570LS0914 , TMS570LS1114 , TMS570LS1115 , TMS570LS1224 , TMS570LS1225 , TMS570LS1227 , TMS570LS2124 , TMS570LS2125 , TMS570LS2134 , TMS570LS2135 , TMS570LS3134 , TMS570LS3135 , TMS570LS3137 , TMS570LS3137-EP

 

  1.   Hercules™ Software Diagnostic Library Test Automation Unit
    1.     Trademarks
    2. Introduction
    3. Software Requirements
    4. Software Diagnostic Library TAU Tool Restrictions
    5. Terminologies Used in Software Diagnostic Library TAU
      1. 4.1 What is Unit Testing?
      2. 4.2 What is a Test Sequence?
      3. 4.3 What is a TCF?
      4. 4.4 What is Code Coverage?
      5. 4.5 What is Regression Report?
    6. Functional Blocks of Software Diagnostic Library TAU
    7. Software Diagnostic Library TAU Test Flow
    8. Manual Settings to the LDRA Install Needed by the User
    9. Steps for Using the Software Diagnostic Library TAU
    10. Inputs to Software Diagnostic Library TAU
      1. 9.1 Device Selection
      2. 9.2 Target Configuration File
      3. 9.3 Build Options File
    11. 10 How to Add Individual Test Cases
    12. 11 Reports
      1. 11.1 Regression Report
      2. 11.2 Dynamic Coverage Analysis Report
    13. 12 FAQ
  2.   Revision History

FAQ

  1. The TCF generation fails when:
    • The test sequence is open in Microsoft Excel
    • A test case (including the last one) is not terminated by a blank row
    • The keyword “End of Test Sequence” is not found in the Excel sheet
  2. What are the possible reasons for build failure?
    • License initialization failure
      • Check whether the LDRA license is properly installed or if it is expired
    • Validation failure
      • The file name mentioned is wrong or the function is not defined in the mentioned file name
      • The number of parameters for the test case mentioned in the Excel does not match the actual value
    • NOTE

      The number of parameters includes function input parameters, function return, and the global variables (or peripheral registers) checked.

    • Previous analysis was terminated in the middle of execution
      • Delete the analysis folder
    • Compile error
      • Users can check the CompileLog.txt in the <test folder>\Debug folder for the details
    • Invalid entries in build options file
  3. Where do I see the instrumented code?
    • It is saved in LDRA work area.
  4. The software says test execution is completed, but I cannot find the report in the reports folder.
    This happens when the tool was unable to connect to the target and execute the test.
    • Check whether the target is connected properly
    • Check the target configuration file
  5. In case of unit tests, the tool fails to generate the code coverage report if the test execution was terminated in the middle of execution.

  6. Test execution stuck in the middle of execution. What to do? What is the reason?
    • To terminate the test execution, close the pop-up window. Never kill the process through the task manager. To stop executing the subsequent test sequences, click the “Stop” button and wait until the running process is completed. Do not close the TAU window before the process is completed.
    • The reason this happens is because of wrong configuration or wrong selection of functional test.
  7. I use the full version of LDRA Tool Suite instead of LDRAUnit. Can I use this tool with this license?
    • Currently, the Software Diagnostic Library TAU supports only LDRAUnit.
  8. How to get the License setup after purchasing Hercules Software Diagnostic Library Test Automation Unit?
    • Once license is purchased user will get an e-mail from TI secure software with the download link for Hercules Software Diagnostic Library Test Automation Unit.
    • Hercules Software Diagnostic Library Test Automation Unit comes with a 7 day LDRA unit license. User can request full license with FlexLM setup info from LDRA by following the below steps.
      1. Go to Windows Start → LDRA Unit xxx → Licensing → License Configuration Manager ( Run as Admin) → Contact LDRA
      2. Click Launch Email to Generate Machine Information file.
      3. E-mail licencing@ldra.com with Generated Machine Information file as attachment.
      4. LDRA licensing team will get back with information to setup the license.