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.

UIA not installed with RTOS for AM437x



Good afternoon,

I'm trying to test the logging functions of the RTOS. The manual says:

"UIA. The Unified Instrumentation Architecture (UIA) defines APIs and transports that allow

embedded software to log instrumentation data for use within CCS. In order to use UIA, you will need

to install TI-RTOS, which is available in the TI App Center within CCS. UIA is the TI-RTOS

Instrumentation component. TI-RTOS is provided with full source code and requires no up-front or

runtime license fees."

For some reason, uia is not in my TI install directory ( I installed RTOS for AM437x). Where should it be installed? Is there a patch for RTOS so I can add UIA manually?

Kind regards,

John van Maanen

 

  • John,

    UIA component is now a separate component that is installed with the TI RTOS package or when you install Processor SDK RTOS for AM437x. Can you confirm that you are using Processor SDK RTOS for AM437x ?

    Please take a look at the AM437x SDK offering and documentation here:

    UIA is part of the debug and trace tools that we offer in the SDK. If you have this component installed then make sure that CCS has detected the component as shown in the screenshot below. You can check this under WIndows->Preferences tab and also check it under Build Properties under RTSC.

    Regards,

    Rahul

  • Hello Rahul,

    I am using " Processor SDK RTOS for AM437x ". UIA was not installed. From CCS I could select it as "stand alone package". After downloading, I extracted the files from the zip and put them in the TI install directory. When restarting CCS, UIA was detected and installed.

    So installation of UIA seems OK now. I was able to configure it in my project. Debugging still doesn't work. I get a message that UIA settings could not be extracted from my .out file. I will try to get this working today.

    Kind regards,

    John
  • Hello Rahul,

    This is the message I get:

    UIA is configured in my project and the XML files are generated. For some reason, they are not detected. What can be wrong?

    Kind regards,

    John.

  • Images are not shown in this forum? Here is the message: 

    Analysis Configuration (form)

    Warnings/Errors

    Could not detect a UIA configuration. One of the following is required:

    • Either load a program with UIA instrumentation turned on

    • Or specify a custom UIA configuration

    If an instrumented program is already loaded then verify that the generated *uia.xml an *rta.xml files are located in the folder they were generated in or are in the same folder as the .out file.

     

     

     

  • John,

    I have moved this to the TI RTOS forum so that they can confirm if this component is supported for your platform (AM437x).
    I have used this on DSP and Cortex A15 devices without any issues but I am not sure if this support is enabled for AM437x part.

    Regards,
    Rahul
  • Hello Rahul,

    I can run the UIA demo and everything seems to work. So far I'm not able to use UIA in existing (example) project. I can add UIA to the configuration, but I cannot use UIA in the debugger.

    As said before, the UIA demo works, so I tried to use this example as a starting point for my project. No luck there either, because my application exits when I call the function UART_open. I cannot find any information in the debugger about the stop reason.

    I'm sure it's just another setting in the .CFG or project, but I'm not able to get my project started. I will try to get TI RTOS running with UART and UIA in the next couple of days. If there is still no progress by than, I forget about using TI RTOS and try to find an RTOS that is well documented. It should not be this hard to make a working project that uses a UART and UIA.

    Regards,

    John