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.

Error message in execution graph

Other Parts Discussed in Thread: SYSBIOS

Hi All,

I am working on CCS 5.0 and using UIA 1.0.1.17. I am able to load execution graph, but its displaying some error in the graph.

I am not able to understand, why it is coming and what it signifies. Alll my process is working fine.

In the above image the dotted line is showing the error.

Thanks, 

Deepain Nayyar

  • Deepain,

    The dotted line represents data loss. See section 3.6.3 “If System Analyzer Events are Being Dropped” of System Analyzer User’s Guide (available here http://processors.wiki.ti.com/index.php?title=Multicore_System_Analyzer) for possible reasons.

    Most likely it’s because your log buffers on the target are not large enough to hold the amount of logs you’re collecting.  See towards the end of section 5.3.1 “Configuring ti.uia.sysbios.LoggingSetup” of the User’s Guide on how to adjust buffer size.

    Regards,

    Imtaz

  • Hi Imtaz,

    I got the point and i can remove the error message shown by dotted lines is removed by increasing the buffer size.

    Thanks,

    Deepain Nayyar

  • Hi Imtaz,

    Increasing the LoggingSetup.sysbiosLoggerSize and LoggingSetup.mainLoggerSize increases the memory in L2, but i want to keep this memory section in DDR3 or MSMCSRAM.

    Can you please tell me how can i change the memory section of these buffers?

    Regards,

    Deepain Nayyar

  • Deepain,

    See section 5.3.4 "Configuring ti.uia.runtime.LoggerCircBuff" it talks about how to set the buffer section:

    /* must also place memory section via Program.sectMap */

    loggerCircBufParams.bufSection = ’.myLoggerSection’;

    Regards,

    Imtaz.

  • Hello Imtaz,

    I am using C66xx DSP EVM that connects with my computer through USB. I select Blackhawk XDS560v2-USB Mezzanine Emulator connection to connect with EVM

    What should be the Mode of connection for UIA connectivity. 

    Will it be JTAG Run-Mode or will it be Non-JTAG Transport.

    Regards,

    Pankaj

  • Pankaj,

    Since you're using the emulator you'll need to select JTAG.

    Regards,

    Imtaz.

  • Hello,

    I have two questions regarding  System Analyser functionality.

    1.Using system Analyser,  I can see execution graph showing execution sequence and timing details of tasks, HWIs ans SWIs. Is this possible to see same for different functions inside a task

    2. Is System Analyser supported only with CCS. I mean if I run my image on a target platform without using CCS, will the file containing UIA infirmation will be generated.

    Regards,

    Pankaj, 

  • Pankaj,

    1. Yes. You need to add UIA logs at the start and end (return points) of the functions you want to see. E.g.

    void myFunc(){
         Log_write3( UIABenchmark_startInstanceWithAdrs,  (IArg)"Func: id=%x, Fxn=%x", 0, (UArg)&myFunc);
         ...

          ....
         Log_write3( UIABenchmark_stopInstanceWithAdrs, (IArg)"Func: id=%x, Fxn=%x", 0, (UArg)&myFunc);
    };

    If however you just want to instrument all functions there is compiler support and this can be achieved by doing function hooks as described at

    http://processors.wiki.ti.com/index.php?title=Multicore_System_Analyzer#Q:_How_to_Profile_functions_using_enter_and_exit_hook_functions

    Note this article talks about Profiling but the same Function logs are used by the Execution Graph as well

    2. Yes is supported with CCS.

    .

    Regards

    Ralph

  • Hello Ralph,

    Thanks for your answer.

    I have not clearly understood your answer for point 2. I am putting up that again 

    How can I use system analyser without using CCS?

    Reagrds,

    Pankaj


  • Pankaj,

    JTAG transport requires CCS + Debug Session. If you want to access a remote system you'll have to use Ethernet transport. With Ethernet you can retrieve UIA data without the need for a CCS debug session.

    You can launch the System Analyzer from within CCS (without a debug session) to retrieve UIA data or if required we can make a standalone version of System Analyzer available.

    Regards,

    Imtaz.