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.

StarterWare: Echo_server example not running properly

Other Parts Discussed in Thread: OMAPL138

Hello friends,

I have problem in running the echo_server program of StarterWare. It is not working in either ways(peer-to-peer or corporate connection).

  1. Corporate case

I stopped DHCP server and found the IP address(port): 10.48.10.112(67)

I run echoApp.out on ARM9 and client.exe in Winows withabove IPaddress and found observations.

  1. The Tera Term is not displaying any message.
  2. Client.exe program run on the command prompt says no error in socket. The screen shot shows above both.

 

 

  1. Peer-to-peer case

I installed DHCP server and found IP (port) addresses: same as above

I run the echoApp.out in ARM9 and client.exe in Windows xp and found that same as above.

DHCP server screen shot is show below,

Could any body tell me what is going wrong? I am just trying to run the example available in starterware without modifying it.The program I used on client side is ported onto windows (visual studio 2005)

Regards,

mahesh

  • /HI Mahesh, 

    From the description given above, i could not see the dynamic IP address assigned to the board. The dynamic IP will be displayed on the teraterm. 

    Is echoApp.out, the first example you are trying out ? Did you try any other examples like timerCounter.out

    which EVM you are using ? Are you loading the executable through CCS or flashing it?

    Regards

    Sujith.

  • I am loading .out through CCS5.1 , XDS100V2 and I have OMAPL138 EVM from LogicPD. I tested few other programs such as RTC, LCDC and found to be working but when it comes to echoApp.out I face problems.

    Could you please trouble shoot, at first, the peer-to-peer connection (There is some progress in this compared with corporate network)

          -     I follow the user guide and run the echoApp without any modification but none is captured by Tera Term.

          -     I started changing the static_ip in lwipopts.h ,

         
    #define MAC_ADDRESS                     {0x00, 0x08, 0xEE, 0x03, 0x6A, 0xC6}
    #define STATIC_IP_ADDRESS             0x0a300037 // since 0 is not working

    -   

    The same IP as above is again offered by DHCP server on my Windows Xp host. I preserved the port number 2000 in both echod.h in CCS and client.c in Visual Studio 2005

          -     I run the program again and found that Tera Term is displaying the message that ARM9 has got IP address but that address is what I assigned in the above macro.

        -   I run client.c program in cmd prompt on Host PC, but it is not connecting and exiting the program with error code 10060.

    Could any body please help me.

    Regards

    I

  • Mahesh,

    Is there a echo client example for windows? Which release is it?

    If not, I guess you are running the application on a Windows host with Cygwin. Did you try it on a Linux host?

    Regards,

    Madhvapathi Sriram

  • Hi Sriram/Mahesh,

    echo client example for Windows is not part of StarterWare.

    As I believe, the IP acquisition itself is not happening in the above case. Could you please attach the ethreal log ? (With dynamic IP connected to your corporate network, with no changes in the example application).

    Once we confirm on the IP acquisition, we can proceed further.

    Regards,

    Sujith.

  • Hello Sri Ram,

    My project needs visual studio for certain tasks and the results will have to be send to OMAPL138 EVM via ethernet link.

    The client.c program is the standard one provided along with StarterWare(First version). But since I do not have Linux host PC with me right now ,I converted the program to Windows by including appropriate header files, incorporating small changes in the the code (such as reinterpret<> etc. ) and compiled& build  it successfully. I dont know about Cygwin- what it is? Is it necessary that I should be having Linux host to work with Starterware?

    Changing over to Linux Host doesnt seems to be feasible in the near by feature since I use other software such as MATLAB, LabView etc. in my project work and need MS office side-by-side to prepare thesis.

    Hope you and friends in TI forum understand the difficulty.

    Regards,

    Mahesh

  • Can I expect reply from TI members today?

    Regards,

    Mahesh

  • Hi Mahesh,

    As we are not sure if IP acquisition is happening properly, could you please check enet_lwip application ? Let us see if the dynamic IP address is displayed on the Teraterm console. Or, if you have alredy tried the same are you able access the embedded web page ?

    Regards,

    Sujith.