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 unable to detect UIA configuration.

Other Parts Discussed in Thread: SYSBIOS

I'm using the following tools:

  • Code Composer 6.1.1.00022
  • TIRTOS 6.42.02.29
  • NDK 2.24.03.35
  • sysbios_ind_sdk_2.1.1.2
  • UIA 2.0.3.43
  • XDC tools 3.31.2.38

Since the TI ICE 3359 SDK is only released for Windows, I'm building the my images on a Windows 7 VM, and running the System Analyzer on a Ubuntu host since the VM's is unable to correctly connect to the USB debugger.

I've copied the *.uia.xml and *.rta.xml files to the same directory that I'm loading my .out file from. Unfortunately System Analyzer is unable to locate my UIA configuration even though I have copied the file to the recommended location.

  • Brady,

    Brady Rutherford said:
    I'm building the my images on a Windows 7 VM, and running the System Analyzer on a Ubuntu host since the VM's is unable to correctly connect to the USB debugger.

    Are the files you built being copied locally?  Meaning, you are building them within the VM, but are they on the local disk that's used by Ubuntu?

    Steve

  • Steve,


    Yes, I'm building the image within the VM which is using my ubuntu host's file system.


    However I'm using the .out file in place and only copying the .xml files to same location (up 3 directories) since my Linux based CCS wasn't able to find them. In my case the windows 7 VM has my ubuntu host's home/bradyr/projects/61850v11.1_4/examples/serverDemo5/sysbios_subs/am335x_debug directory mounted as: E:\projects\61850v11.1_4\examples\serverDemo5\sysbios_subs\am335x_debug.

  • Hi Brady,

    Can you copy the generated rta.xml and uia.xml files to the same directory as your .out file and see if that fixes the problem?  Also, can you attach your .cfg file?

    Thanks,

        Janet

  • Hi Janet,


    I have copied the rta.xml and uia.xml file to the same directory as my .out file and it has not fixed the problem. I have attached my .cfg file.


    Thank you,

    Brady3058.ethernetip_adapter_am335x.cfg

  • Hi Brady,

    This line in your .cfg file

    BIOS.logsEnabled = false;

    would cause you to not get any data in your execution graph.  You need to change 'false' to 'true' to get execution data.  However, this would not be the cause of System Analyzer not detecting the UIA configuration.  Are you still having that problem?

    Best regards,

        Janet

  • Hi Janet,


    Unfortunately I'm still unable to collect any execution data even after setting logEnabled to true.


    Brady

  • Hi Brady,

    Is RTOS Analyzer able to detect the UIA configuration now?  If not, I will need to ask someone familiar with the host side of RTOS Analyzer to look into this post.

    If RTOS Analyzer comes up ok, but you do not get any data in the execution or load graphs, could you attach your latest .cfg file and the generated uia.xml file?

    Thanks,

        Janet

  • HI Janet,

    I still have both issues. I'm not able to detect the UIA configuration from my Linux host. In the meantime I have setup a Windows host which I'm able to connect. However the CPU utilization always reports zero. I've attached my latest configuration files as you have requested.


    Thank you,

    Brady1460.ethernetip_adapter_am335x.cfg7180.ethernetip_adapter_am335x_xa8fg.uia.xml

  • Hi Brady,

    I asked around about your problem of RTOS Analyzer not detecting the UIA configuration.  It seems this use case has not been tested, but it was suggested that you try to manually create the UIA configuration.  You can do this by opening RTOS Analyzer and then checking the box "Custom UIA Configuration file:"
    You can then click the "Create UIA Config File" button.  A "UIA config" window should pop up:


    Then double-click on the endpoint (CORTEX_M4_0 in this example) to edit the endpoint.  From there, browse to the xml files:

    I'm not sure why you would be getting a CPU load of 0 for your Windows project.  Can you try the UIA stairstep example and see if that works?  You can find this example through the Resource Explorer (in CCS: View -> Resource Explorer).  It will be under the "System Analyzer (UIA Target) examples.

    Best regards,

        Janet

  • Hi Janet,


    The custom UIA configuration file has resolved my Linux connection issue.

    However, I'm still not able to collect any meaningful CPU utilization data. The UIA stairstep example also reports zero CPU utilization.


    Thank you,

    Brady

  • Hi Brady,

    I'm glad to hear the custom UIA configuration is working.  How long did you run the stairstep example?  You will need to run it for about 5 seconds before the CPU load changes.  I will see if I can reproduce this problem.

    Best regards,

        Janet

  • Janet,

    The example exits almost immediately so I'm unable to let it run for 5 seconds. I did verify the compiler flags, etc. against my working application but haven't found a reason why the example doesn't appear to run correctly.

    Brady

  • Hi Brady,
    I just ran the stairstep example on an evm3359, and it looked ok, with CPU load increasing after about 5 seconds. Are you able to get to main() with the stairstep program?
    I needed to do a CPU Reset (HW) of the CortexA8 before loading the program. Here is the sequence of operations I did:

    - Power cycle the board
    - CortexA8 -> System Reset
    - CortexA8 -> Connect
    - CortexA8 -> CPU Reset (HW)

    Then load the program.

    Best regards,
    Janet
  • Hi Janet,


    I'm following a very similar procedure. After the CPU Reset (HW), I load the GEL file for my 2.1 ICE board and execute the AM335x System Initialization script, then load the program. I'm able to step into main and the cpuLoadInit function. However as soon as I hit resume, it immediately stops at exit.

    Brady

  • Hi Brady,

    I'm attaching the GEL file that I used for the CortexA8 initialization script.  You can try this one, or compare it with yours.  Another thing to try is using ROV to check for any errors.  When your program exits, open ROV from the CCS -> Tools menu.  Select "BIOS" in ROV and check the "Scan for errors..." tab.

    Best regards,

        Janet

    7875.AM335x_13x13_EVM.gel.txt