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.

Why cannot this .cfg file work with "Execution Graph' etc.?

Other Parts Discussed in Thread: SYSBIOS, CONTROLSUITE

Hi,

I create a SYS/BIOS 6 (6.35.1.29) project for OMAP L138 LCDK, (C674x side) under CCS 5.4. After I added UIA (1.3.0.02), 'Live Session' does not show event record although .cfg enables 'LoggingSetup' as example project 'stairstep_example' ('stairstep_example'  does works well on 'Live Session', 'Execution Graph"). 

Here is the .cfg file:0842.bigtime.cfg

I notice that post: e2e.ti.com/.../247453.aspx method works on the above problem.

I am really curious about why my project has similar .cfg file with 'stairstep_example' project but not work. 

Could you tell me the reason?

Thanks,

  • Hi Robert,

    I saw a similar thing when adding LoggingSetup to bigtime.cfg.  In my case, though, I got Log events in the Live Session window, but nothing was displayed in the Execution Graph.  Looking closer at the events in the Live Session window, the time field was blank.  This would explain the empty Execution Graph.

    I then removed LoggerBuf from bigtime.cfg by commenting out these lines:

    //var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');

    //var log0Params = new LoggerBuf.Params();
    //log0Params.instance.name = "systemLog";
    //log0Params.exitFlush = true;
    //Program.global.systemLog = LoggerBuf.create(log0Params);

    //Defaults.common$.logger = Program.global.systemLog;
    //Defaults.common$.diags_INFO = Diags.ALWAYS_ON;
    //Defaults.common$.diags_USER1 = Diags.ALWAYS_OFF;

    After that, the time field in the Live Session view showed time values and I got data in the Execution Graph.

    I see in your .cfg file, you have already removed LoggerBuf, so there must be something else.  One thing you can try, which sometimes works when System Analyzer shows no data, is to close CCS and remove the dvt directory in your workspace.  Then restart CCS and see if System Analyzer now shows data.

    Best regards,

        Janet

  • I had a similar issue, in Live Session, all objects are shown correctly, but the local time column shows 0. What I might have done wrong?

    I use CCS v6.0.1.00040 and TI-RTOS for C2000 2.10.1.38 on Windows 7.

  • Hi Louis,

    Could you post your .cfg file? Also, what device are you using?

    Best regards,
    Janet
  • 1121.app.cfg

    I was experimenting TI-RTOS on F28069controlStick. I need to know how to use UIA feature. The execution graph is critical one. Please help.

  • Hi Louis,
    The app.cfg file looks ok. Can you try taking the BIOS task mutex example and adding your LoggingSetup configuration to mutex.cfg:

    var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
    LoggingSetup.sysbiosSwiLogging = true;
    LoggingSetup.sysbiosHwiLogging = true;

    If you build and run the BIOS example, do you see the timestamps displayed correctly in the execution graph (or in the Live Session window)?
    Are you using controlSuite? Could you attach a screen shot of the RTOS Analyzer Live Session window showing the timestamps and the events?
    Thanks,
    Janet
  • I found the root cause of the problem was that I did not enable the clock to timer 1 and 2. After the clocks are enabled, the local time shows counts of cycle. However, the CPU and Task load graphs show just flat lines. I would like to see more instrumentation demos if possible.
    Thanks.
  • Hi Louis,
    Please try the stairstep JTAG StopMode example, which you should find under "Instrumentation Examples" in the Resource Explorer.
    Best regards,
    Janet