Support

DT10 Support

DT10 FAQ

FAQ

We answer the frequently asked questions about “Dynamic Test Tool – DT10″.

About Inserting Test Point

Q1. What is the root folder?

Please specify the source file location with root folder in order to register.
At this point, the root folder should be the highest level of folder to register the source files.

Q2. What is the base address?

DT10 has a mechanism to output the executed information (the identification number [addr] of source file and the identification number [dat] of the Test Point).
The base address is used for identification number of source file.

In case of asynchronous bus connection

You should use the base address of the bus output address. Please specify the value depending on your target environment.

[Example] In case that the initial address of address space for Flash memory is 0×80000000, the base address should be “0×80000010″.
The base value: 0×80000000 is reserved for the address of CPU load detection, so please do not use this value.

In case of the connection method other than asynchronous bus connection

You can use the default.

Q3. What is the type definition file?

The type definition file is used for specifying the type which user own defined by typedef, or which is a compiler / OS proprietary, rather than the type conforming to the ANSI C standard, such as char, unsigned short.

The specified original type can be analyzed the same as the ANSI C standard.)

The Automatic Test Point Insertion is usually successful without any special settings. However, there are rare syntax cases which is unable to determine and the automatic insertion is failed. In that case, you can significantly increase the successful rate by making the type define file.

(Example)

(1) Assuming that you define the typedef as follows;

    typedef struct personal{
        char name[30];
        char address[30];
        int tel;
    } PERSONAL;

(2) Fill in the type name that you would like to specify in the type definition file (*.txt).

When you have multiple type name, please list up one term in one line.

    PERSONAL{
    ・・・
    ・・・

(3) Specifies the path of the type definition file (*. Txt) in the “File type definition” dialog specify the auto-generated files.

Q4. What is the Invalid Code Definition File?

The Invalid Code Definition File is the definition in order to exclude the specific compile section from the Automatic Test Point Insertion analysis target.
This file makes makes beyond the scope of the analysis between the specified string with #if and #ifdef, as a starting point, and the corresponding #endif.

In case that there exist a special compile option block in order to output the function name and the description of function, there are rare syntax cases which is unable to analyze and stop it. (for example, it appeard the Japanese and the multiple byte code)
This is the function in order to exclude that kind of block from the analysis.

(Example)

(1) Assuming that disabled comments on the compilation options as follows.

    #if 0
    #define FOR_DOCUMENT /* When this option is made effective, the document is vomited to the error. */
    #endif
    /* Function substance definition ——————–*/
    #ifdef FOR_DOCUMENT
    Function name func_a
    Function Code for sample
    Argument int arg_a
    Return value void
    Change tracking 2009.4.1
    #endif
    ・・・

(2) Write the specified compile option in the Invalid code definition file (*. Txt).

When you have multiple type name, please list up one term in one line.

    #ifdef FOR_DOCUMENT
    ・・・
    ・・・

(3) Specifies the path of the type definition file (*. Txt) in the “File type definition” dialog specify the auto-generated files.

Q5. What should I set the type name of unsigned 32bit type?

When you set a DT project, please specify the unsigned 32bit type in your target environment.
This configuration will be used for argument type of the driver in order to output Test Point information.

(Example)

       32bitCPU : unsigned int
       16bitCPU : unsigned long

As for profile

Q1. What is the profile?

We call the set of the source file in the same version, corresponding Test Report and Test Point settings as a “Profile”.

As for Test Report

Q1. Can I check the historical report data?

The followings are the procedure. For more details, please refer to “27. Display the Report Data” section.

(1) Select “Report Analysis” -> “Display Test Report” in Menu, display “Display Report Data” dialog.
(2) Select the profile in “Profile Selection” dialog.
(3) The Report Data within the selected profile will appear in “Test Data Selection” column.
(4) Select the designated Report Data from “Test Data Selection” column, and click “OK”.
(5) The historical report data will appear in the main screen.

Q2. How can I display the value of any variable in the test report?

The followings are the procedure. For mote detail, please refer to “21. The specified value of a variable is displayed in the Test Report” section.

(1) Insert _TP_MemoryOutput function (You do not use DT10.)

The _TP_MemoryOutput function is used for outputting the variable value.
You can find the sample source code of this function in the install folder [sample] ->[driver_sample]. Please copy the process in the sample source code to your target environment, or register the source file into the target project.

(2) Perform compile and build. (You do not use DT10.)

(3) Insert the Variable Value Output Point

In case of argument type, insert the Test Point automatically by checking “Insert the Variable Value Output Point for the argument”.

In case of argument type, insert the Test Point manually by checking “Insert the Variable Value Output Point for the variable”.

(4) Open the property editor and input your design value.

(5) Compile and build the program. (DT10 is not used in this operation.)

(6) Retrieve the Test Report.

For report analysis

Q1. When does the step-executed-display (The color of the executed Test Points in the source code window) update?

The step-executed-display is updated at the time of Report Analysis.

The Report Analysis is performed by selecting “Report Analysis” => “Report Data Analysis” or “Multiple Report Data Combined Analysis”.

Q2. Does the “Report Data Analysis” perform against all the retrieved data (by each profile data)?

The “Report Data Analysis” performs against all the Report Data currently displayed on “Test Report View”. In other word, it performs by each the Test Report.

For Time Execution Time Report

Q1. Does the Execution Time in the Execution Time Report include the time of dispatching a task?

The Execution Time is the duration which includes a test point getting in a function called by another function, or a task is dispatched.

Q2. What is the Typ-Margin?

The Typ-Margin represents the margin of Execution Time calculated from the default value of Typ set in the “Execution Time” of function property.

The following is the calculation.

The default value of Typ in the Execution Time / Average time x 100 (%)

Q3. What is the Max-Margin?

The Max-Margin represents the margin of Execution Time calculated from the maximum value set in the “Execution Time” of function property.

The following is the calculation.

The maximum value of the Execution Time / Average time x 100 (%)

For Variable Monitor

Q1. How can I check the transition of obtained variables graphically?

The step-executed-display is updated at the time of Report Analysis. There is the “Variable Monitor” function which can be graphically display the transition of obtained variables.

The followings are the procedure. For more details, please refer to “22. Variable Monitor Fuction”.

(1) Set a value of the variables display on the Variable Monitor, by selecting “Report Analysis” -> “Variable Monitor” -> “Setting” in the menu.

(2) You can see the Variable Monitor by selecting “Report Analysis” -> “Variable Monitor” -> “Display Variable Monitor” in the menu.

For Module

Q1. Is there any way to register plural functions into a module at once?

Open the module property editor and click “add” button of “belong to function”, you will see the “Select functions” dialog. At this dialog, you can register plural function to a module by selecting plural function.

Q2. Is there any way to recognize the process which interrupts during a function is executing as an interruption process?

Yes, there is the way.

You can set a task name, a module name for each function in DT10. When you display it by the Function Trace feature, you will see the task name. By using the task name, you can identify the process.

For example, you set the familiar task name, which software programer can easily recognize, such as “Timer interruption” in your interruption function. DT10 provides the mechanism in Function Trace feature for you to confirm the interruption occurred with showing the switch of the task name.

For Source code window

Q1. Can I display the line number in the source code window?

Yes, you can.

You set the check of “Display Line Number in Source Code Window” in the DT10 setting dialog and click “OK”, you will see the line number in the source code window.

Q2. I would like to modify the source or to compile in the DT10.

You can not compile your source in DT10.

As for the source code editor feature of DT10, it does not support it before the version 2.50. The DT10 version 3.00 or more has the line editor of source code feature, so you can add comments or small changes.

For Import

Q1. What is import?

The import function enables you to share the current project with the other project’s source file, Test Point, test property information.

For Export

Q1. What is the export?

The function which you save the various reports as a CSV format files is called the Export function.

Q2. I would like to save my report as CSV format file.

You can save your report as a CSV format file by selecting “Menu” -> “Export” in the Menu.

Other question

Q1. Can I use the USB hardware key via Hub?

Yes, you can.

(Ref.) The electric consumption of the HASP hardware key is 54mA.

Q2. Is there any way to measure the overhead of Test Point in DT10?

We do not provide an overhead measurement function as a DT10′s feature. However, there is the way to measure the overhead by applying the DT10′s basic function.

Please insert the two consecutive Test Points and check the time difference in the Test Report. The time difference should be the overhead.
For more details, please refer to the manual “19.4 The overhead is measured”

Q3. What is the SEL line terminal, that is No.4 (Yellow) pin of 8 PIN probe, DT10′s accessory?

This is currently not used for connecting to a target. This line is for future expansion purpose.

As a notice, please do not connect your target device because the other end of this No.4 “SEL” line is opened (wiring is not connected).