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 Issue in Code Composer Studio not building

Other Parts Discussed in Thread: SYSBIOS, TMS320F28335

UIA Issue in Code Composer Studio not building

 

Hello, I just installed UIA version 2.0.5.50 into my code composer studio (CCS version 6.1.2) project because I guess this will extrapolate and graph things like CPU-load for example. We have SYS/BIOS 6.35.4.50 for this project and I looked at spruh43f.pdf page. 88 Chapter 5.1 “Quickly Enabling UIA Instrumentation” to uses this tool.

3. Use the LoggingSetup Module. Add the following statement to include UIA’s LoggingSetup module

    in your application’s configuration. For example:

   var LoggingSetup =

   xdc.useModule('ti.uia.sysbios.LoggingSetup');

    Including the LoggingSetup module creates logger instances needed by UIA and assigns those

    loggers to the modules that need them in order to provide UIA data.

 

So I added this line into the projects .cfg var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');

 

MY PROJECT .cfg from Code Composer

// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

var Idle = xdc.useModule('ti.sysbios.knl.Idle');

var Clock = xdc.useModule('ti.sysbios.knl.Clock');

var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');

var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');

var Load = xdc.useModule('ti.sysbios.utils.Load');

var Task = xdc.useModule('ti.sysbios.knl.Task');

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

var ti_sysbios_family_c28_Hwi = xdc.useModule('ti.sysbios.family.c28.Hwi');

var System = xdc.useModule('xdc.runtime.System');

var Timer = xdc.useModule('ti.sysbios.family.c28.Timer');

var TimestampProvider = xdc.useModule('ti.sysbios.family.c28.TimestampProvider');

var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');

I got a build error as a result ->"Description Resource Path Location Type
declaration is incompatible with "void ti_uia_loggers_LoggerStopMode_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 411 of "C:/ti/uia_2_00_05_50/uia_2_00_05_50/packages/ti/uia/loggers/LoggerStopMode.h") .xdchelp /Svcm line 21004 C/C++ Problem"

 

Is there a suggestion out there to fix this?

 

I am not familiar with this tool at all so any suggestion are much appreciated.

 

thanks, Tom

 

 

  • What device are you using?
  • I just looked in the release notes for that version of UIA. You need to have BIOS 6.40.00 or higher. You need to either get an older UIA or upgrade BIOS.
  • Hi Todd, I tried UIA 1.3.1.08 and I keep getting this warning:

    "Description Resource Path Location Type
    BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file. Svcm.cfg /Svcm [object:Object] XDCTools Configuration Marker"

    Then, When I launch a debug session and goto Tools->RTOS Analyzer->Load Analysis CCS comes up with a window called "Analysis Configuration" When I pick Analysis Features 1. CPU load 2. Task Graph the Instrumentation Status returns "Cannot Determine" I click on the "?" icon and it defines "Cannot Determine" : This may not be the problem. Instrumentation status cannot be validated if using UIA version older than 2.0

    This is why I downloaded UIA 2.0.

    Another question is there much different in SYS/BIOS 6.40.00 compared to what I am using now? If I install this will this make UIA work?
    Trying to use this has been frustrating...

    Thanks again for the reply.

    Tom
  • The newer versions of UIA fixed a bug with the C28. You should be able to upgrade to the newer BIOS. We document compatibility breaks from the previous version in the release notes. If you jump more than one release, you need to look at the old release notes in the docs\relnotes_archive directory.

    Todd
  • Hi Todd,
    I tried the latest version SYS/BIOS 6.45.01.29 with XDC 3.32.00.06 and my project does not compile as a result. There is a line in my .cfg file

    if (config.hasReportedError == false) {
    }

    I looked at this in the SYS/BIOS (TI_RTOS) v6.45 User's Guide SPRUEX3P and there was no mention of such.
    I commented this out and then I got multiple "program will not fit into available memory" and multiple unresolved symbol errors, I don't know why, any thoughts?

    *************************************************************************************************************************

    I tried SYS/BIOS 6.40.04.47 with XDC 3.30.04.52 and my project did compile but with a warning about
    "BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file. Svcm.cfg /Svcm [object:Object] XDCTools Configuration Marker"

    But Using UIA I can see CPU Load now. The Instrumentation Status is good
    The Task Load Feature had an Instrumentation Status of Inadequate though.

    Thanks again Todd,

    Tom