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.

RTOS/TMS320F28069: UIA is not recognized

Part Number: TMS320F28069
Other Parts Discussed in Thread: SYSBIOS, CONTROLSUITE

Tool/software: TI-RTOS

CCSv8.2, BIOS 6.75, UIA 2.30, XDC 3.51

Attempting to compile with UIA for F28069 and I get this error:

Description Resource Path Location Type
can't find the library 'lib/release/ti.uia.sysbios.a28FP' specified by package ti.uia.sysbios. It wasn't found along the path 'C:/ti/bios_6_75_01_05/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/xdctools_3_51_01_18_core/packages;..;'. .xdchelp /Test_lab7_pFetzer line 48 C/C++ Problem

My UIA folder has a .AE28FP library, but not .A28FP. Is this an "elf" vs. "COFF" problem? How do I fix it? Maybe I have a mismatch of tools for this target.

Thanks,

Eric

  • Hi Eric,

    So for the slow response. I'm starting to look at this and will get back later today.

    Todd
  • Hi Eric,

    I just tried those and it worked for me. It builds in COFF. I just imported the standard mutex example from SYS/BIOS and added LoggingSetup into the .cfg (and uia 2.30 in the project settings-Products). Can you attach (attach and not cut/paste) the build log.

    Can you attach your project?

    Todd
  • Thanks Todd. This gives me an idea. I created a new project and then overwrote the .cfg with my older .cfg. I am going to try to create the new project and then add a thread or two and just use my old .c files vs. the old .cfg and see what happens. I will let you know soon...

    My guess is that SOMETHING in the old .cfg was causing the conflict...

  • UIA_test_Wilbur.zip

    **** Build of configuration Debug for project Lab4-F28069-RTOS-pFetz-Test ****
    
    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O 
     
            1 file(s) copied.
    making ../src/sysbios/sysbios.a28FP ...
    Building file: "../app.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/bios_6_75_01_05/packages;C:/ti/uia_2_30_01_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28069 -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.5.LTS" --compileOptions "-g" "../app.cfg"
    gmake[1]: Nothing to be done for 'all'.
    configuring app.x28FP from package/cfg/app_p28FP.cfg ...
    generating custom ti.sysbios library makefile ... 
    subdir_rules.mk:12: recipe for target 'build-323631441-inproc' failed
    js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find the library 'lib/release/ti.uia.sysbios.a28FP' specified by package ti.uia.sysbios.  It wasn't found along the path 'C:/ti/bios_6_75_01_05/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/xdctools_3_51_01_18_core/packages;..;'.
    xdctools_3_51_01_18_core\gmake.exe: *** [package.mak:198: package/cfg/app_p28FP.xdl] Error 1
    xdctools_3_51_01_18_core\gmake.exe: *** Deleting file 'package/cfg/app_p28FP.xdl'
    xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/app_p28FP.xdl] Deleting file 'package/cfg/app_p28FP.h'
    xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/app_p28FP.xdl] Deleting file 'package/cfg/app_p28FP.c'
    js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-323631441-inproc] Error 1
    gmake: *** [build-323631441] Error 2
    subdir_rules.mk:9: recipe for target 'build-323631441' failed
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    
    Ok. I added my main.c and a few header files to a new project vs. overwriting with my old app.cfg and I get the same error. Hey, at least it is repeatable. Attached is my archived project and build log.

  • It built fine for me once I pointed CONTROLSUITE_F2806x_INSTALL to C:\ti\controlSUITE3_4_7\device_support\f2806x\v151.

    Did you rebuild either SYS/BIOS or UIA?

    Do you have any spaces in your workspace or extra shells installed?

    Todd
  • Hi Todd, thanks for the update. No, I did not rebuild SYS/BIOS or UIA (actually I am not sure even HOW to do this). ;-) No spaces in the workspace or shells - the location of my project folder is C:\Users\ericw\workspace_v8\Lab4-F28069-RTOS-pFetz-Test. Did you add UIA to the build properties and add LoggingSetup - and all of that built for you - no errors?

    Mine builds fine with no errors WITHOUT UIA. It is the addition of UIA that causes the error.

    But when I add UIA via project properties and then add LoggingSetup to the .cfg file, I get the errors specified earlier.

    I then tried to kill LoggerBuf (because it used to cause conflicts) and I get the same error. I am at a loss of what to try next. Have you not seen this error before:???

    can't find the library 'lib/release/ti.uia.sysbios.a28FP' specified by package ti.uia.sysbios. It wasn't found along the path 'C:/ti/bios_6_75_01_05/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/xdctools_3_51_01_18_core/packages;..;'. .xdchelp /Lab4-F28069-RTOS-pFetz-Test line 48 C/C++ Problem


    Here is my app.cfg file: (you got one version of it when I attached my project):

    var Defaults = xdc.useModule('xdc.runtime.Defaults');
    var Diags = xdc.useModule('xdc.runtime.Diags');
    var Error = xdc.useModule('xdc.runtime.Error');
    var Log = xdc.useModule('xdc.runtime.Log');
    var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
    var Main = xdc.useModule('xdc.runtime.Main');
    var SysMin = xdc.useModule('xdc.runtime.SysMin');
    var System = xdc.useModule('xdc.runtime.System');
    var Text = xdc.useModule('xdc.runtime.Text');

    var BIOS = xdc.useModule('ti.sysbios.BIOS');
    var Task = xdc.useModule('ti.sysbios.knl.Task');
    var Idle = xdc.useModule('ti.sysbios.knl.Idle');
    var Boot = xdc.useModule('ti.catalog.c2800.init.Boot');

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

    /*
    * Uncomment this line to globally disable Asserts.
    * All modules inherit the default from the 'Defaults' module. You
    * can override these defaults on a per-module basis using Module.common$.
    * Disabling Asserts will save code space and improve runtime performance.
    Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
    */

    /*
    * Uncomment this line to keep module names from being loaded on the target.
    * The module name strings are placed in the .const section. Setting this
    * parameter to false will save space in the .const section. Error and
    * Assert messages will contain an "unknown module" prefix instead
    * of the actual module name.
    */
    Defaults.common$.namedModule = false;

    /*
    * Minimize exit handler array in System. The System module includes
    * an array of functions that are registered with System_atexit() to be
    * called by System_exit().
    */
    System.maxAtexitHandlers = 4;

    /*
    * Uncomment this line to disable the Error print function.
    * We lose error information when this is disabled since the errors are
    * not printed. Disabling the raiseHook will save some code space if
    * your app is not using System_printf() since the Error_print() function
    * calls System_printf().
    Error.raiseHook = null;
    */

    /*
    * Uncomment this line to keep Error, Assert, and Log strings from being
    * loaded on the target. These strings are placed in the .const section.
    * Setting this parameter to false will save space in the .const section.
    * Error, Assert and Log message will print raw ids and args instead of
    * a formatted message.
    */
    Text.isLoaded = false;

    /*
    * Uncomment this line to disable the output of characters by SysMin
    * when the program exits. SysMin writes characters to a circular buffer.
    * This buffer can be viewed using the SysMin Output view in ROV.
    */
    SysMin.flushAtExit = false;

    /*
    * The BIOS module will create the default heap for the system.
    * Specify the size of this default heap.
    */
    BIOS.heapSize = 0x0;

    /* System stack size (used by ISRs and Swis) */
    Program.stack = 0x100;

    /* Circular buffer size for System_printf() */
    SysMin.bufSize = 128;

    /*
    * Create and install logger for the whole system
    */
    var loggerBufParams = new LoggerBuf.Params();
    //loggerBufParams.numEntries = 4;
    //var logger0 = LoggerBuf.create(loggerBufParams);
    //Defaults.common$.logger = logger0;
    //Main.common$.diags_INFO = Diags.ALWAYS_ON;

    System.SupportProxy = SysMin;

    /*
    * Build a custom BIOS library. The custom library will be smaller than the
    * pre-built "instrumented" (default) and "non-instrumented" libraries.
    *
    * The BIOS.logsEnabled parameter specifies whether the Logging is enabled
    * within BIOS for this custom build. These logs are used by the RTA and
    * UIA analysis tools.
    *
    * The BIOS.assertsEnabled parameter specifies whether BIOS code will
    * include Assert() checks. Setting this parameter to 'false' will generate
    * smaller and faster code, but having asserts enabled is recommended for
    * early development as the Assert() checks will catch lots of programming
    * errors (invalid parameters, etc.)
    */
    BIOS.libType = BIOS.LibType_Custom;
    BIOS.logsEnabled = true;
    BIOS.assertsEnabled = true;

    /*
    * Create a task. The 'taskFxn' function can be found in main.c.
    */
    //var task0Params = new Task.Params();
    //var task0 = Task.create("&taskFxn", task0Params);

    Boot.pllcrDIV = 18;
    BIOS.cpuFreq.lo = 90000000;
    Idle.idleFxns[0] = "&ledToggle";
    LoggingSetup.loggerType = LoggingSetup.LoggerType_MIN;
  • Todd, thanks for helping me determine that my folder: C:\ti\uia_2_30_01_02\packages\ti\uia\sysbios\lib\release did NOT have all the files. In particular, it was missing the file: ti.uia.sysbios.A28FP.

    We believe the cause was simply an unzipping error. Once I re-downloaded the .zip from TI and unzipped it again (now, with all the proper files), I was able to build the project fine with UIA installed.

    Thanks again Todd.