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.

CODECOMPOSER: theia 20.01 debug 7.4.14. Graph View

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: TMS320F2800137, TMS320C6748

Tool/software:

Hi,

I am using ccs theia 20.01. ( TMS320C6748 , TMS320F2800137 )
To draw a graph of an array in ccs 12.7, enter the address or name of the array,
the type of data (float,int,short...) and the number of data.
but in “ccs theia 20.01,I cannot find a place to enter the type of data.
For example, if an array short a[100] has the address 0x1000 (=&a[0]),
how can I graph the data in this array?
Stop at the breakpoint, select "New Graph - Expressions” and enter the name or address of the variable,
but I just get an empty graph.

Best regards, Isao

  • Hello,

    but in “ccs theia 20.01,I cannot find a place to enter the type of data.

    The graph in CCS 20 will use the data type of the array as the data type for the graph. If the array is short type then a size of short (16 bit) will be applied to the array.

    how can I graph the data in this array?

    simply use the name of the array "a" in the Expressions field. The data type of 16-bit will be applied. Note that you will need to refresh the graph once for the plot to be graphed.

    Thanks

    ki

  • Thanks for your answer.


    When I break at --A--(Example below) and type "conv_f" for "New Graph - Expressions" and "refresh", the graph appeared!
    In the case of “func_a”, the graph is displayed by entering the original “conv_f”.
    But, if I break at --B-- and enter "fl" in "New Graph - Expressions" and "refresh/continuous refresh",the y-axis data remains at a constant value of "3.24329B".
    In the case of “graph_test1()” and so on, or
    I am having trouble figuring out what to do when there is data in dynamic memory(malloc.. etc.) because I can only enter addresses.
    I think it is difficult to display a graph without being able to input the type.
    In “ccs 12.7”, it was possible to input address and type.
    What should I do?

    Best regards, Isao

  • Sorry,
    The list was missing.


    #define PAI 3.141593
    extern float conv_f[1000] ;
    void func_a( void )
    {
    int i ;
    for( i=0 ; i<1000 ; i++ )
    {
    conv_f[i] = sinf( (float)(i % 20) * 2.0 * PAI / 20.0 ) ;
    }
    // -- A --
    graph_test1( &(conv_f[0]) ) ;
    }
    //
    void graph_test1( float *fl )
    {
    ..
    .. --B--
    ..
    }

  • because I can only enter addresses.
    I think it is difficult to display a graph without being able to input the type.
    In “ccs 12.7”, it was possible to input address and type.
    What should I do?

    I agree, this is a limitation. I filed a ticket for this issue. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-12153

  • Thank you for your support.

    I look forward to the early addition of the features.

    Best regards, Isao