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.

CCS5.5 RTOS analyzer(CPU LOAD)

Other Parts Discussed in Thread: TMS320F28035

Hi,

I am not able to see anything on cpu load graph for my program.

Can you suggest any setting for DSP/BIOS or XDTOOL?

Is any example project available for cpu load analysis for TMS320F28035 Piccolo kit?

Shailesh

  • Hi Shailesh,

    Which version of CCS are you using?

    Regards,

    Gautam

  • Version: 5.5.0.00077

  • RTOS Analyzer is only supports TI-RTOS kernel (a.k.a. SYS/BIOS). For DSP/BIOS support, use the CPU Load graph under the Legacy RTA tools (it is a submenu under the RTOS Analyzer menu).

    Thanks

    ki

  • Hi,

    I am using same as mention by you but not able to get any information on it.

    Currently I built up a example project "TASK" which is under SYS/BIOS / Experimental KIt Piccolo F28035 / 28x example/Task Example.

    Is TASK example will show any information on CPU load Graph?

    currently DSP/BIOS 5.42.01.09  and CCS 5.5.0.00077 installed on my system.

    Any setting required to show CPU load graph?

    Regards

    Shailesh 

  • shailesh zade said:
    Currently I built up a example project "TASK" which is under SYS/BIOS / Experimental KIt Piccolo F28035 / 28x example/Task Example.

    SYS/BIOS is different from DSP/BIOS. You are using a SYS/BIOS example. For SYS/BIOS, you don't use the Legacy RTA Tools but instead use the RTOS Analyzer tools.

    If they are greyed out, it is because you did not enable analysis in your SYS/BIOS *.cfg file.

    You first need to enable UIA in the project properties:

    Then you need to enable UIA Logging:

    This will enable RTOS Analyzer and the menu options will now be available after rebuilding and reloading. Note that enabling this will use up additional resources on the target so if resources are short (like memory) you may not be able to use it.

    Follow up questions should be direct to the TI-RTOS forum:

    http://e2e.ti.com/support/embedded/tirtos/f/355.aspx

    Thanks

    ki

  • I want to used DSP/BIOS project but example code for microcontroller msp320F28035 not exist under DSP/BIOS category.

     

    Regards

    Shailesh 

  • yes, it appears DSP/BIOS5.42 does not have any examples for 28035. You may be able to modify on of the other 28x examples for 28035 or query in the TI-RTOS forums (and perhaps the C2000 forums) to see if there are any existing BIOS5 examples available specifically for 28035.

    thanks

    ki

  • hi,

    Thanks for your reply.

    My project is in eclipse for UC 320F28034.

    please send me the procedure to view CPU load graph on ccs5.

    I made all the required setting in .tcf file.

    Regards

    Shailesh Zade

  • hi,

    Also I get some warning when I execute load symbol

    Unable to locate file: src/aux28/boot.s28

    Unable to locate file: src/swi/swi.s28

    Unable to locate file: src/fxn/fxn_c.c

    Regards

    Shailesh

  • shailesh zade said:

    hi,

    Thanks for your reply.

    My project is in eclipse for UC 320F28034.

    please send me the procedure to view CPU load graph on ccs5.

    I made all the required setting in .tcf file.

    Regards

    Shailesh Zade

    The procedure to viewthe CPU load for BIOS5 projects is the same as I mentioned before. If you are still not getting any data, please attach your project so I can analyzer it.

    Thanks

    ki

  • Hi,

    I have again some doubt for my project,

    I need to burn two different program for my UC 320F28034 that is bootloader and my project.

    It is possible to put two different program in one UC using CCS5?

    my bootloader project did not having any .tcf file,it is ok or my bootloader project also need to be DSP/BIOS project?

    For CPU load graph which tab should I use, LOAD PROGRAM or LOAD SYMBOL?

    I tried sample program using  LOAD PROGRAM and its work.

    but same thing I did with LOAD PROGRAM and then LOAD SYMBOL it wont work

    Regards

    Shailesh

  • Hi,

    My project is in eclipse and build it using makefile.

    I am using XDTOOL 3_15_02_62 ,BIOS 5_40_02_22 and CCS 5.5.0.00077 .

    now I am able to print log on CCS by some modification in .tcf file.

    But same thing not happens with CPU_LOAD?

    Regards

    Shailesh 

  • Please attach your project and executable so I can take a look to make sure it is configured correctly.

    Thanks

    ki

  • Hi,

    Find the attached .tcf  and .out file to conform all configuration.

    Regards

    Shailesh

  • Looks like it didn't attach correctly. Can you reattach? It would be great if I could get the project too.

  • Hi,

    I am using MAKEFILE to built my project so it has many dependency.

    I am trying to reduce the dependency so that you can run it properly.

    once it done I will send my project to you.

    find the attached .tcf and .out file for your reference

    1537.FILE.zip

  • Hi,

    Any outcome from .tcf file.

    I observed my empty sample program also gives me CPU graph about 12% with all RTDX configuration enable.

    "

    main()

    {

    }

    "

    What is the reason behind it?

    Regards

    Shailesh

  • Hi,

    In TMS320 DSP/BIOS User’s Guide section 3.1

    Note

    "RTDX is occasionally not supported for the initial releases of a new DSP
    device or board. On platforms where RTDX is not supported,
    instrumentation data is updated only in stop mode. That is, the data is not
    communicated to the host PC while the target program is running. When
    you halt the target or reach a breakpoint, analysis data is transferred for
    viewing in Code Composer Studio."

    In my project(TMS320F28035), LOG messages are received only when I halt the execution of program.

    Is my controller not supported RTDX, thats why I am not able to receive data in CPU load graph?

    Regards

    Shailesh