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.

NDK client example not connecting on OMAPL138 EVM board

Other Parts Discussed in Thread: OMAPL138, TMS320C6748

I'm having issue connecting to Client demo for NDK with either telnet or Http.

I am able to ping the board.

the CCS console outputs the following when the code is run:

[C674X_0] Using default MAC address

Using MAC Address: 00-08-ee-03-14-99

00000.000 MAC Address = 00-08-ee-03-14-99

00000.000 EMAC should be up and running

00000.000 EMAC has been started successfully

00000.000 Registeration of the EMAC Successful

Network Added: If-1:192.168.1.80

Service Status: Telnet   : Enabled  :          : 000

Service Status: HTTP     : Enabled  :          : 000

Link Status: 100Mb/s Full Duplex on PHY 0

I am using:

NDK 2.24.1.18

nsp 1.10.2.09

SYS/BIOS 6.41.0.26

TIRTOS for c6000 2.0.1.23

XDCtools version 3.30.3.47_core

 

Any Ideas as to why it is not connecting?

  • What board are you on? If it is a TI board, can you export your project and attach it?
  • I am using a OMAPL138 DSP + ARM chip that came with the Logic PD EVM Development Kit

    4186.TCPIPTest.zip

  • Also in case it helps the .ccxml file I'm using is as follows:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0">
    <instance XML_version="1.2" desc="Texas Instruments XDS100v1 USB Emulator_0" href="connections\TIXDS100usb_Connection.xml" id="Texas Instruments XDS100v1 USB Emulator_0" xml="TIXDS100usb_Connection.xml" xmlpath="connections"/>
    <connection XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0">
    <instance XML_version="1.2" href="drivers\tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/>
    <instance XML_version="1.2" href="drivers\tixds100c674x.xml" id="drivers" xml="tixds100c674x.xml" xmlpath="drivers"/>
    <platform XML_version="1.2" id="platform_0">
    <instance XML_version="1.2" desc="TMS320C6748_0" href="Devices\c6748.xml" id="TMS320C6748_0" xml="c6748.xml" xmlpath="Devices"/>
    <device HW_revision="1" XML_version="1.2" description="C674x Floating point DSP" id="TMS320C6748_0" partnum="TMS320C6748">
    <router HW_revision="" XML_version="1.2" description="" id="device_0" isa="ICEPICK_C">
    <subpath id="device_1">
    <cpu HW_revision="" XML_version="1.2" description="" id="device_2" isa="TMS320C674X">
    <property Type="filepathfield" Value="..\gel\OMAPL138_ARM.gel" id="GEL File"/>
    </cpu>
    </subpath>
    </router>
    </device>
    </platform>
    </connection>
    </configuration>
    </configurations>
  • I made the following changes in the .cfg file and then it worked.

    Program.heap = 32768;  // When I went to DHCP, there was not enough memory

    Ip.autoIp = true;
    //Ip.address = "192.168.1.80";
    //Ip.mask = "255.255.0.0";
    //Ip.domainName = "SSI.net";

    I have a "L138/C6748 Development Kit" board and I used the ..\..\emulation\boards\evmomapl138\gel\EVMOMAPL138_DSP.gel file for the c674x core. Can you verify that DHCP works for you?

    Todd

  • got it working now, dhcp was not needed (acctually static ip address is prefered in my case).
    Increased heap size to 65536 and it worked. Not sure why it didn't give me any memory errors but I am able to connect using telnet.

    Now i just have to figure out how to add commands and send responses and i should be good.

    Thanks.