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.

"toLowerCase" Error in uia package

Other Parts Discussed in Thread: SYSBIOS

Hey Guys,


I installed a new toolchain with:

  • CCS v6.0.1.00040 
  • Sys/Bios 6.40.02.27
  • UIA 2.00.00.28
  • C6000 Code Generation Tools v7.4.9

All of them were installed separate with offline installer in this order, to get a reproducible installation.


My problem is now that if i build my project i get the following error:

js: "/opt/ti/uia_2_00_00_28/packages/ti/uia/sysbios/LoggingSetup.xs", line 1123: TypeError: Cannot call method "toLowerCase" of null (/opt/ti/uia_2_00_00_28/packages/ti/uia/sysbios/LoggingSetup.xs#1123)
    "/opt/ti/uia_2_00_00_28/packages/ti/uia/runtime/UIAMetaData.xs", line 1238

Is it possible that my toolchain in not compatible or is there any other problem?

Cheers


Stefan

  • Hi Stefan,

    There is a known bug in UIA 2.00.00.28, where having LoggerBuf in you config file will cause that error.  Do you have LoggerBuf in your .cfg file?  If so, can you try removing it?  This has been fixed in UIA 2.00.01.34.

    Best regards,

        Janet

  • Hi Janet,


    thank you for your answer but in my .cfg is no LoggerBuf in use. Do you have any other idea?

    You can find my .cfg here:

    1121.sysbios.cfg

    Best regards


    Stefan

  • Hi Janet,


    you are right! There is a problem with the logger. If i create a instance of LoggerSM like

    var LoggerSM = xdc.useModule('ti.uia.runtime.LoggerSM');

    LoggerSM.sharedMemorySize = parseInt(environment["TRACE_LENGTH"],16);
    LoggerSM.numPartitions = 1;
    LoggerSM.partitionId = 0;
    LoggerSM.bufSection = ".loggerSM";
    LoggerSM.decode = false;
    LoggerSM.overwrite = true;
    LoggerSM.filterByLevel = true;
    LoggerSM.level1Mask = Diags.USER2;
    LoggerSM.level2Mask = 0;
    LoggerSM.level3Mask = 0;
    LoggerSM.level4Mask = (Diags.ALL_LOGGING & (~Diags.USER2));

    var loggerSM = LoggerSM.create();

    i will get this error. If i set a name for the loggerSM at the end of this section with

    loggerSM.instance.name = "LoggerSM";

    it works fine.

    Is this bugfix valid or where can i get a stand alone version of UIA 2.00.01.34.

    Best regards

    Stefan

  • Hi Stefan,

    UIA 2.00.01.34 is not publicly available as a stand alone product yet, but I will see about getting that done and let you know when it is available.  In the meantime, you can take the fix which is in LoggingSetup.xs, and replace the one you have in <UIA_INSTALL_DIR>/packages/ti/uia/sysbios.  I have re-named it LoggingSetup.xs.txt, in case there are problems with the upload.

    Best regards,

        Janet

    2287.LoggingSetup.xs.txt

  • Hi Janet

    I've just download the last version of UIA  2.00.01.34  in a .zip file from this url:

    http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/uia/2_00_01_34/index_FDS.html

    (The Link was provide by CCS App center)

    How can I update my CCS V6 with this new release?

    Regards

    Laureano

  • Hi Laureano,

    You can unzip the file in your CCS installation directory.  Then restart CCS and it should discover the new product.

    Best regards,

        Janet

  • Hi Janet,

    when will we have an update of TI-RTOS 2.00.01.23 for C6000 to a newer version (e.g. 2.10.01.38)
     via the App Center to resolve the problem above automatically?


    Best regards,

    Jan

  • Hi Jan,

    You can download the latest version of UIA here:

    I'm not sure when this will be available in App Center.

    Best regards,

       Janet