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.

could not detect a UIA configuration

Hi,

I am trying run the RTOS analyser and get  a message: Could not detect a UIA configuration. One of the following is required.......

Project cfg file is attached.

CCS6 : 6.1.0.201502111100

XDC tools  :3.31.1.33

TI-RTOS: 2.12.1.33

target: F28069

What could be the problem?

regards

AAH

5432.FC1.12.cfg

  • Hi AAH,
    Do you have any more information about what is required from the error message? Also you can remove the following lines from your .cfg file:

    LoggingSetup.sysbiosTaskLogging = true;
    LoggingSetup.loadLogging = true;
    LoggingSetup.mainLogging = true;
    LoggingSetup.mainLoggingRuntimeControl = true;
    LoggingSetup.loggerType = LoggingSetup.LoggerType_STOPMODE;
    var loggerStopMode0Params = new LoggerStopMode.Params();
    loggerStopMode0Params.instance.name = "loggerStopMode0";
    loggerStopMode0Params.bufSize = 600;
    Program.global.loggerStopMode0 = LoggerStopMode.create(loggerStopMode0Params);

    By using LoggingSetup, you will get a LoggerStopMode instance automatically. If you want to change the default size of the Main logger, just add the following configuration:

    LoggingSetup.mainLoggerSize = 600;

    or for the BIOS logger:

    LoggingSetup.sysbiosLoggerSize = 600;

    (For other LoggingSetup configuration, you can check the cdoc).

    Are you able to build and use RTOS Analyzer with the TI-RTOS instrumentation examples (Hello and Stairstep)?
    Best regards,
    Janet
  • Hello Janet,

    I am able to run Stairstep example.

    I also tried removing the cfg script lines, as suggested by you,  with the same result.

    It seems there is a problem with auto discovery of .uia.xml file.

    I tried creating a custom UIA configuration file with .uia.xml file from .. \package\cfg\.. folder.

    Now , Instrumentation status shows " Cannot Determine".

    See snapshots attached. Sorry, could not paste snapshots. Word file is attached.5518.ti_uia_post.docx

    regards

    AAH.

  • Hi AAH,


    I see from the screen shot that RTOS Analyzer thinks you're using JTAG RunMode.  This is not supported on C28 devices.  I don't think you need a custom UIA configuration file, since RTOS Analyzer should be able to find the generated xml files if you're building in CCS.  Maybe try rebuilding your project. If after rebuilding your project, you still can't get RTOS Analyzer to work, you might try comparing your .cfg and project settings with the stairstep example and see where they differ.

    Best regards,

        Janet

  • hello Janet,
    It was a problem with the cfg file. Project cfg file was not working in staircase example.
    A new cfg file was made for the project and it worked.

    Thank you for your time.

    best regards

    AAH