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.

[FAQ] TMS570LC4357: HALCOGEN CSP Unit Test with TAU and LDRA

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

1. Why does the TCF generation fail?

2. What are the possible reasons for build failure?

3. When the test execution hung, what should we do?

5. Can I use HalCoGen TAU to test source file other than HalCoGen generated files? 

  • 1. Why does the TCF generation fail?

    • The test sequence is open in Microsoft Excel
    • TCF generation may get stuck if a test case is not terminated by a blank row
    • TCF generation may get stuck if 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 expired.
    • Validation failure: 
      • File name defined is wrong or the function is not found in the defined file name
      • The number of parameters for the test case defined in the Excel does not match the actual value. Note that number of parameters includes function input parameters, function return and the global variables (or peripheral registers) checked.
    • Previous analysis was terminated before the operation was completed: Delete the analysis folder present in LDRA Application data directory
    • Compile error: For details, users can check the CompileLog.txt in the \Debug folder.
    • Invalid entries in build options file

    3. When the test execution hung, what should we do?

    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 that. This can happen if the test is stuck in some loop mainly because of wrong configuration of wrong selection of functional test.

    4. Can I use HalCoGen TAU to test source file other than HalCoGen generated files? 

    No. HALCoGen TAU which is part of HALCoGen-CSP is licensed to test HALCoGen generated files and support files only