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.

TMDSIDK437X: Using UIA with LoggerRunModeETHERNET upload

Part Number: TMDSIDK437X
Other Parts Discussed in Thread: SYSBIOS

Hello.

Tell me if it is possible to use the mode LoggerRunModeETHERNETupload in TMDSIDK437x? 

If so, is there an instruction describing how to make the correct settings?

Regards, Dmitry.

  • Hi Dmitry,

    Let me check with the UIA experts and get back to you.

  • Hi Dmitry,

    I am yet to get some response on this from experts.

    Meanwhile, I checked the device list under:

    uia_2_30_01_02/docs/devices.html

    and noticed that AM437x is shown in the support list.

    And UIA 2.30 supported Logger Run Mode Ethernet.

    Did you try specifically the run mode and noticed any issues?

    Thanks

  • Hi, Aravind.

    Is there a response from UIA support?

    I tried to set it up intuitively on my own, but it didn't work out for me. Unfortunately, I did not see clear instructions on how to set up this mode.

    Regards, Dmitry.

  • Hi Dmitry,

    Sorry! I have not yet got any inputs yet on this. Thank you for your patience. 

    Thanks

  • Hi Dmitry,

        My apologies for the delay.  The following may be of some use:

    • Section 5.3.3 of spruh43f.pdf (C:\ti\uia_2_30_01_02\docs\spruh43f.pdf) has info on configuring ti.uia.runtime.ServiceMgr for LoggerRunMode with the Ethernet transport
    • The cdoc page for ti.uia.runtime.ServiceMgr has more info on the APIs provided by the ServiceMgr
      • (open C:/ti/uia_2_30_01_02/docs/cdoc/index.html and navigate to ti / uia/ runtime to see this)  - see screenshot at bottom of this post )
    • C:\ti\uia_2_30_01_02\packages\ti\uia\examples\single\evm6472\stairstep_Ethernet.cfg
      • this is an example .cfg file that shows how to configure LoggingSetup and the ServiceMgr for using Ethernet as a non-JTAG transport (see lines 120-123)
      • It also shows how to configure the NDK for either DHCP or to use a fixed IP address (lines 131-134)
    • The NDK packages are available at http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/index.html 
    • Section 5.4.8 of spruh43f shows how to provide your own transport for the ServiceMgr if you wish - you don't have to use the NDK.  You need to provide a set of standard C functions that are called by the ServiceMgr in order to transport the data (initFxn(), startFxn() etc as outlined in this section of the document).  An example of the functions you need to provide is in C:\ti\uia_2_30_01_02\packages\ti\uia\sysbios\TransportNdk.c  - you would need to provide implementations of these functions that call into your own ethenet stack. 
      • setting breakpoints in these functions should allow you to debug any problems you are encountering with the data transport.
    • See section 4.5 of spruh43f for how to configure System Analyzer to connect to the target device over Ethernet (either using UDP or TCPIP) and how to configure SystemAnalyzer to work with your target application's data (by specifying your project's .out file, .uia.xml file and .rta.xml file)
    • See section 3.6 of spruh43f for how to troubleshoot problems with getting data into SystemAnalyzer over the Ethernet transport

    Hopefully the above is enough to get you started.

    Please note that the LoggerRunMode + Ethernet transport configuration has not been tested under the Processor SDK context.  It should work, but it hasn't been verified.