• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » StarterWare » StarterWare forum » StarterWare: Echo_server example not running properly
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

Forums

StarterWare: Echo_server example not running properly

This question is answered
mahesh
Posted by mahesh
on Feb 04 2012 05:45 AM
Intellectual670 points

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

Be brave and be sincere; then follow any path with devotion, and you must reach
God. Once lay hold of one link of the chain, and the whole chain must come by degrees.
Water the roots of the tree (that is, reach the Lord), and the whole tree is watered.
Getting the Lord, we get all.

Retreat given at the Thousand Island Park, USA. June 23, 1895. Complete Works, 7.6.
Swami Vivekananda




Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sujith KV
    Posted by Sujith KV
    on Feb 06 2012 02:43 AM
    Intellectual2505 points

    /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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mahesh
    Posted by mahesh
    on Feb 06 2012 07:58 AM
    Intellectual670 points

    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

    Be brave and be sincere; then follow any path with devotion, and you must reach
    God. Once lay hold of one link of the chain, and the whole chain must come by degrees.
    Water the roots of the tree (that is, reach the Lord), and the whole tree is watered.
    Getting the Lord, we get all.

    Retreat given at the Thousand Island Park, USA. June 23, 1895. Complete Works, 7.6.
    Swami Vivekananda




    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Madhvapathi Sriram
    Posted by Madhvapathi Sriram
    on Feb 06 2012 22:25 PM
    Intellectual465 points

    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

    Thanks and regards,

    Madhvapathi Sriram

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sujith KV
    Posted by Sujith KV
    on Feb 06 2012 22:55 PM
    Intellectual2505 points

    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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mahesh
    Posted by mahesh
    on Feb 06 2012 23:14 PM
    Intellectual670 points

    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

    Be brave and be sincere; then follow any path with devotion, and you must reach
    God. Once lay hold of one link of the chain, and the whole chain must come by degrees.
    Water the roots of the tree (that is, reach the Lord), and the whole tree is watered.
    Getting the Lord, we get all.

    Retreat given at the Thousand Island Park, USA. June 23, 1895. Complete Works, 7.6.
    Swami Vivekananda




    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mahesh
    Posted by mahesh
    on Feb 09 2012 08:59 AM
    Intellectual670 points

    Can I expect reply from TI members today?

    Regards,

    Mahesh

    Be brave and be sincere; then follow any path with devotion, and you must reach
    God. Once lay hold of one link of the chain, and the whole chain must come by degrees.
    Water the roots of the tree (that is, reach the Lord), and the whole tree is watered.
    Getting the Lord, we get all.

    Retreat given at the Thousand Island Park, USA. June 23, 1895. Complete Works, 7.6.
    Swami Vivekananda




    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sujith KV
    Posted by Sujith KV
    on Feb 09 2012 21:47 PM
    Verified Answer
    Verified by Baskaran Chidambaram
    Intellectual2505 points

    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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use