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.

TDA4VM: Is it possible to add UIA module in TDA4 RTOS SDK?

Part Number: TDA4VM
Other Parts Discussed in Thread: SYSBIOS

hi  all:

I want to use the CCS tool RTOS analyzer function, but this requires adding UIA module in the application.I would like to ask if it is possible to add UIA modules to our application for compilation without using CCS to build applications, and then use the RTOS analyzer function?

  • Hi Feige Wang

    You can use the following configuration to add UIA module in the application. Add the following to the .cfg file.

    var BIOS        = xdc.useModule("ti.sysbios.BIOS");

    BIOS.logsEnabled = true;

    var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
    LoggingSetup.sysbiosSwiLogging = true;
    LoggingSetup.sysbiosHwiLogging = true;
    LoggingSetup.sysbiosSemaphoreLogging = true;
    LoggingSetup.loadLogging = false;
    LoggingSetup.benchmarkLogging = false;
    LoggingSetup.mainLoggingRuntimeControl = false;
    LoggingSetup.loadTaskLogging = false;
    LoggingSetup.loadSwiLogging = false;
    LoggingSetup.loadHwiLogging = false;
    LoggingSetup.loadLoggerSize = 262144;
    LoggingSetup.sysbiosLoggerSize = 524288;
    LoggingSetup.mainLoggerSize = 262144;

    var UIAMetaData = xdc.useModule('ti.uia.runtime.UIAMetaData');
    UIAMetaData.overrideTimestampFreq = true;
    UIAMetaData.timestampFreq.lo = 20000000;

    (You can download the UIA package from http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/uia/index.html )

    You have to add the path to the UIA packages in concerto.mak file (for example: XDC_IDIRS+=../../../uia_2_30_01_02/packages/; )

    Then you can use RTOS Analyzer Function.

    Also I would like to know , for which core do you want to use the RTOS Analyzer?

  • hi,

       Thank you for your reply,I want to analyze C66 C7X R5F,I do n’t know if it ’s ok.

  • Hi Feige Wang,

    You can try this to analyze C66  & R5F.

    I am not sure whether C7X supports UIA. I will enquire and inform.

  • hi  all:

    I modified vision_apps based on the above information and compiled but found that the path (/home/dji/TI_rtos/uia_2_30_01_02/packages)could not be recognized.It seems the reason is that XDC_IDIRS cannot add multiple paths.

  • Sorry, this compilation error has been resolved