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.

System analyzer tutorial # 2 does not run as described

Other Parts Discussed in Thread: TMS320C6678

I was trying to learn how to use the system analyzer and when I go to tutorial # 2 
(http://processors.wiki.ti.com/index.php/SystemAnalyzerTutorial2), I do not get past the 
step which says that
The "System Analyzer Welcome" view should automatically open, and should say "Your 
system is configured to upload events while the target is running using JTAG"

I tried this on the EVM C6678 board on a linux host with CCS 5.2.1. The Welcome window comes up on 
loading the tutorial2.out and just displays "Please wait...". Meanwhile I get a Problem 
Occurred dialog which says "Welcome Job" has encountered a problem. An internal error 
has occurred. On clicking on Details:
org.eclipse.swt.layout.FillData cannot be cast to org.eclipse.swt.layout.FormData.

Thanks,
- Shiv 

  • Hi Shiv,

       This is a known bug and is fixed in the upcoming System Analyzer 1.2 release.  You should be able to ignore this without it causing problems.  

      If you would like to turn off the welcome page entirely, you can do so by replacing the uiaSettings.txt file (typically in ~/user) with the file that is attached. 

    <?xml version="1.0" encoding="UTF-8"?>
    <section name="SystemAnalyzerAutostart">
    	<item value="true" key="doNotShowAgain"/>
    </section>
    

    Regards,

      Brian

  • Hi Brian,
    Thanks, but I am not able to complete the tutorial.After ignoring the earlier error message,  when I move the slider (1 or 2), a message appears on the *Live session Logs windows saying: "Info: Halt CPU for new log records" but when I try to halt the CPU, there is yet another error:

    "Trouble halting target cpu: (error - 1060 @ 0x0) Device is not responding to the request. Reset the device, and retry..."

    - Shiv

     

  • Hi Shiv,

        There is a GEL file that is required to be used to properly configure and intialize the C6678 EVM - it's located in the ccsv5/ccs_base/emulation/boards/evmc6678l/gel folder.  Please ensure that this gel file is configured to run with C66xx_0 in your .ccxml Target configuration:

    - double click on your .ccxml in the Target Configurations view to open it in the editor

    - go to the Advanced page

    - expand the TMS320C6678_0/IcePick_D/subpath_0/C66xx_0 node and click the Browse button to the right of the initialization script box,

    - browse to ccsv5/ccs_base/emulation/boards/evmc6678l/gel/evmc6678l.gel

    Save the .ccxml file and relaunch it.

    Could you then try connecting / loading your program and ensuring that you can run and halt it? 

    If all of this is ok, you should be able to use System Analyzer to collect events without having to halt the program.

    Regards,

      Brian

  • Hi Brian,

    I am using the correct GEL file. I can load my program and run and halt it. Its only when I try to use the slider that I run into problem.

    CCS v 5.2.1.00018, System Analyzer 1.1.0.04.

    Thanks,
    Shiv

  • Hi Shiv,

      I've looked into this in more detail and have found that some recent changes to the way the UIA metadata is generated is causing problems with this tutorial.  I'm filing a problem report against the UIAMetaData.xs component and will post a workaround to this problem when I have something that works reliably.

    Thanks for identifying this problem.  My apologies for the time this has cost you!

    Regards,

      Brian

  • Hi Shiv,

       This problem was introduced with uia_1_01_00_04 and is fixed in uia_1_01_00_09_eng and later.  I've updated the build instructions for the tutorials with the following note:

    Note: uia_1_01_00_04 has a bug in it that causes Tutorial2 to work in stop-mode only. This bug is fixed in uia_1_01_00_09_eng and later releases.

    If you rebuild with e.g. uia_1_02_01_08_eng you should be able to run the tutorial successfully.

    Regards,

      Brian