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.

Configuring Ethernet transport in UIA 2.00.00.28

Other Parts Discussed in Thread: SYSBIOS

Hello,

I'm failing to use the UIA Ethernet transport on a C6678 device using CCS v6.1.

After opening the TI RTOS Analyzer, I can see that a TCP connection for the control transport gets established by using Wireshark. Then, the device starts sending UDP event packets. After a few packets, CCS closes the TCP connection again and event transmission stops. No events are shown in the Live Session window.

By looking at the event packet contents it seems that the UIA packet header is present two times within each event packet. Maybe this is causing CCS to close the connection.

Packet example:

The UIA headers are shown at offset 0 (first line) and 0x10 (second line).

I'm using the following logging settings in my RTSC configuration file:

var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
var LoggerRunMode = xdc.useModule('ti.uia.loggers.LoggerRunMode');
var ServiceMgr = xdc.useModule('ti.uia.runtime.ServiceMgr');

LoggingSetup.numCores = 4;
LoggingSetup.loggerType = LoggingSetup.LoggerType_RUNMODE;
LoggingSetup.multicoreEventCorrelation = true;
LoggerRunMode.transportType = LoggerRunMode.TransportType_ETHERNET;
ServiceMgr.topology = ServiceMgr.Topology_MULTICORE;
ServiceMgr.masterProcId = 0;

Thanks,
Ralf

  • Hi Ralf,

    I am looking into this.

    Janet
  • Hi Ralf,

    I found a problem with the Rta module in UIA.  It is adding a UIAPacket header when uploading a log, which is no longer necessary in UIA 2.x, since LoggerRunMode logs already include a UIAPacket header.  You can take the attached Rta.c file and copy it to:

    <TI_RTOS_INSTALL_DIR>/products/uia_2_00_00_28/packages/ti/uia/services/

    You will then need to rebuild the UIA libraries:

    1) Edit the <TI_RTOS_INSTALL_DIR>/tirtos.mak to set the installation directory of TI-RTOS, and the paths to the tools, eg:

    DEFAULT_INSTALLATION_DIR      ?= c:/ti/ccsv6.1.0.00104

    ti.targets.elf.C66            ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/c6000_7.4.12

    ti.targets.elf.C66_big_endian ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/c6000_7.4.12

    ti.targets.elf.C674           ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler/c6000_7.4.12

    2) Rebuild:

    cd <TI_RTOS_INSTALL_DIR>

    ..\xdctools_3_30_01_25_core\gmake tirtos.mak uia

    3) Rebuild your app.

    Thanks for posting this problem, and very sorry for the troubles it caused you.  This will be fixed in the next release of UIA.

    Best regards,

       Janet

    7343.Rta.c

  • Hi Janet,

    sorry for the delay, I was out of office last week.

    The modified Rta.c file fixed the problem.

    Thanks a lot,
    Ralf

  • Hi Ralf,

    I'm glad to hear that solved the problem.

    Best regards,

        Janet

  • Update:

    This problem seems to be fixed in UIA 2.00.03.43.

    Ralf

  • Yes, we got the fix in 2.00.03.43.  Thanks for verifying the fix!

    Best regards,

        Janet