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.

SAFETI-HERCULES-DIAG-LIB-CSP-DEMO: Where are the TCF files to run

Other Parts Discussed in Thread: RM48L950

Hello,

I downloaded the package SAFETI-HERCULES-DIAG-LIB-CSP-DEMO to understand what this toolkit provides and what we might need to add to the test suite.

I have followed the instructions for the installation of the package. I already had the compiler CCS V8.0 installed.

I tried to run the script "ldra_execute.bat" and ended up with this error message:

C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\Compiler_spec\Ticcs50\Rm48l950_hercules_serial>ldra_execute.bat
Usage: loadti [OPTION]... [OUT_FILE1[+OUT_FILE2]...] [ARGUMENT]...
Load OUT_FILE executable(s) to TI target and run, passing ARGUMENT(s) to main.

Mandatory arguments to long options are mandatory for short options too.
Options:
-a, --async-run
-b, --init-bss-section[=VALUE]
-c, --cfg-file=CONFIG_FILE
-h, --help
-l, --load
-mlr, --mem-load-raw="PAGE,ADDR,FILE,TYPE_SIZE,BYTE_SWAP"
-mld, --mem-load-dat="PAGE,ADDR,FILE,LEN"
-msr, --mem-save-raw="PAGE,ADDR,FILE,LEN,TYPE_SIZE,BYTE_SWAP"
-msd, --mem-save-dat="PAGE,ADDR,FILE,LEN,IO_FORMAT,APPEND"
-n, --no-profile
-q, --quiet
-r, --reset
-s, --stdout-file=FILE
-t, --timeout=VALUE
-v, --verbose
-x, --xml-log=FILE
-@, --options-file=FILE

One point to precise: I don't have a dev kit connected to my PC.

Question #1: Why do I get this error message? Is it because it doesn't find a dev kit or because of something else? It is not clear what is the problem.

I then tried to select the tests to run directly from LDRA, as per the user manual SafeTIHerculesDiagnosticLibraryTAU_User_guide.pdf, figure 6, 7, and 8 (page 10-11). The dialog box shown at Figure 8 doesn't present any sets to select - it is completly empty.

Question #2: Is it possible that there is an issue with my installation?

I then wanted to open the TCF files of the CSP directly in LDRA, to be able to visualise the tests being performed, but couldn't find them on my PC.

Question #3: Where are the TCF files installed?

Thank you in advance for your assistance with those issues.

Kind regards,

Frederic.

  • Hello,
    Your question is addressed to our software team.

    Best regards,
    Miro
  • Frederic Desy said:

    Hello,

    I downloaded the package SAFETI-HERCULES-DIAG-LIB-CSP-DEMO to understand what this toolkit provides and what we might need to add to the test suite.

    I have followed the instructions for the installation of the package. I already had the compiler CCS V8.0 installed.

    I tried to run the script "ldra_execute.bat" and ended up with this error message:

    C:\Program Files (x86)\LDRA\LDRAunit-TI-Qual_C_CPP_9.4.3\Compiler_spec\Ticcs50\Rm48l950_hercules_serial>ldra_execute.bat
    Usage: loadti [OPTION]... [OUT_FILE1[+OUT_FILE2]...] [ARGUMENT]...
    Load OUT_FILE executable(s) to TI target and run, passing ARGUMENT(s) to main.

    Mandatory arguments to long options are mandatory for short options too.
    Options:
    -a, --async-run
    -b, --init-bss-section[=VALUE]
    -c, --cfg-file=CONFIG_FILE
    -h, --help
    -l, --load
    -mlr, --mem-load-raw="PAGE,ADDR,FILE,TYPE_SIZE,BYTE_SWAP"
    -mld, --mem-load-dat="PAGE,ADDR,FILE,LEN"
    -msr, --mem-save-raw="PAGE,ADDR,FILE,LEN,TYPE_SIZE,BYTE_SWAP"
    -msd, --mem-save-dat="PAGE,ADDR,FILE,LEN,IO_FORMAT,APPEND"
    -n, --no-profile
    -q, --quiet
    -r, --reset
    -s, --stdout-file=FILE
    -t, --timeout=VALUE
    -v, --verbose
    -x, --xml-log=FILE
    -@, --options-file=FILE

    One point to precise: I don't have a dev kit connected to my PC.

    Question #1: Why do I get this error message? Is it because it doesn't find a dev kit or because of something else? It is not clear what is the problem.

    Please use the Test automation unit (TAU) bundled - you will find this in the Test folder of your installation - the application is called SafetyLibraryTAU.exe. This application invokes LDRA unit with the necessary parameters.  You will be able to get to the compilation stage, but will not be able to run the tests until you have a suitable development board (device) connected.

    Frederic Desy said:
    I then tried to select the tests to run directly from LDRA, as per the user manual SafeTIHerculesDiagnosticLibraryTAU_User_guide.pdf, figure 6, 7, and 8 (page 10-11). The dialog box shown at Figure 8 doesn't present any sets to select - it is completly empty.

    These figures illustrate how to fix errors in installation and not how to run the tests. Please refer to section 8 for details.

    Frederic Desy said:
    Question #2: Is it possible that there is an issue with my installation?

    I believe your installation is correct.

    Frederic Desy said:
    I then wanted to open the TCF files of the CSP directly in LDRA, to be able to visualise the tests being performed, but couldn't find them on my PC.

    Question #3: Where are the TCF files installed?

    This is a demo so not all test case files will be available. Examples are available in Test\RM46x\SafetyLibrary\Tests as Excel Spreadsheets, which the TAU converts into LDRA test case files using scripting.

    Frederic Desy said:
    Thank you in advance for your assistance with those issues.

    Kind regards,

    Frederic.

    Thanks.

    Girish

  • Hi Girish,

    thank you for your answers. That helped me to get things going!

    Kind regards,

    Frederic.