• 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 » Microcontrollers » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » Example with UDP and lwIP on LM3S9B92
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • Forums

    Example with UDP and lwIP on LM3S9B92

    This question is not answered
    Ludger Marwitz
    Posted by Ludger Marwitz
    on Apr 06 2012 21:21 PM
    Prodigy60 points

    Hello guys,

    I bought the EKS-LM3S9B92 evaluation kit and the examples all ran fine, but I am looking for an example to use UDP with lwIP to send some values from the Analog-Digital converter to the PC. It looks that this kit doesn't include this. Is there any example in another kit that I can download from TI and use with LM3S9B92 ?
    I searched for similar issues in this forum, but may be I didn't use the phrases needed. Can anybody help me ?

    Regards, Ludger

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • sanchayan maity
      Posted by sanchayan maity
      on Apr 06 2012 21:57 PM
      Expert1690 points

      Look at the locator functionality in enet_io code which should be included in the examples for EKS-LM3S9B92. At least, it's included in the LM3S6965 kit. In it the code sends some UDP packets, in response to queries send by the finder.exe utility.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Apr 07 2012 04:16 AM
      Guru31995 points

      Ludger Marwitz
      It looks that this kit doesn't include this. Is there any example in another kit that I can download from TI

      See: http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/p/96205/335598.aspx#335598

      LwIP is not specific to TI/Stellaris - so don't limit yourself to just TI/Stellaris examples!

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ludger Marwitz
      Posted by Ludger Marwitz
      on Apr 07 2012 13:41 PM
      Prodigy60 points

      Dear Andy,

      I had a detailed look at your references, but these were not helpful.

      I know something about TCP-protocol, the TCP -Header, the IP Header, Ethernet and so on ... As a matter of fact I designed some ICs in this area.

      But I don't have the time to beg for support. I spent hours to download the cited files of other evaluation boards, but they were not able to run in my EKS-LM3S9B92 environment.

      Furthermore there was no example that just transfers a simple string with UDP and/or TCP including clean callback.

      Is it too much if I ask a guru just for such an example file ? I just want to get my application running. Is there anybody who can help me instead of clever shitting ?

      Regards, Ludger

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Apr 07 2012 15:22 PM
      Guru31995 points

      Ludger Marwitz
      But I don't have the time to beg for support

      And yet you expect people to spend their time writing examples for you - for free?

      Ludger Marwitz
      Is it too much if I ask a guru just for such an example file ?

      Yes. If you want dedicated consultancy, you should expect to pay for that.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ludger Marwitz
      Posted by Ludger Marwitz
      on Apr 08 2012 07:13 AM
      Prodigy60 points

      Hello Andy,

      you say you don't want to spend your time to write an example for free.

      Obviously you don't have this simple standard example, because you still have to write it. Beside the fact that this is very bad support, not only for me,

      but for many others here, it looks that you take this excuse to hide your incompetence.

      I was a field application engineer for microcontrollers 6 years long and I heard such excuses many times from incapable engineers to hide their lack of knowledge.

      Furthermore you should think about the way you handle customers.

      Regards, Ludger

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Greg Whitmore
      Posted by Greg Whitmore
      on Apr 08 2012 11:40 AM
      Expert1185 points

      Andy, thanks for the link. Sometimes the I just don't search for the write combo of words. With those links and the dk-lm3s9b96 enet_io examples, I was able to get it going on the lm3s9b92 with no issues.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • slandrum
      Posted by slandrum
      on Apr 08 2012 15:46 PM
      Mastermind9510 points

      Ludger Marwitz
      Furthermore you should think about the way you handle customers.

      Somehow I don't think you understand who you are talking to.  If you took the time to look, you'd see that under Andy Neil, it doesn't say TI Employee, it says Community Member, just like it says under your name.

      Perhaps you should think about the way you talk to other users of the products who provide a lot of help and assistance.  Or maybe you are just hiding your incompetence behind your complaints.

      Perhaps if someone from TI joins the discussion, you can voice your displeasure to them.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Alan Nilsson
      Posted by Alan Nilsson
      on Apr 09 2012 00:34 AM
      Prodigy190 points

      Ludger Marwitz
      But I don't have the time to beg for support.

      Nobody is asking you to beg, you asked for help (a handout more like it) and 2 folks replied.  That they didn't provide you exactly what you wanted is hardly reason to throw a temper tantrum.

      Ludger Marwitz
      I spent hours to download the cited files of other evaluation boards, but they were not able to run in my EKS-LM3S9B92 environment.

      Hours? Are you on a dial-up?  Seems to me that a better use of your time would have been to read the docs.  A person with your vast knowledge of TCP, Ethernet, and microcontrollers should be able to whip up "this simple standard example" pretty quickly, I mean jeeze if your designing chips in this area...

      Ludger Marwitz
      Is there anybody who can help me

      There probably is, but I doubt they will now.  Why should they when you've bitten the hand that feeds, so to speak, of one of the most helpful contributors on this forum.  There is a reason that Andy Neal is always listed as a top contributor, and its not for being ... clever.

      Ludger Marwitz
      instead of clever shitting ?

      What the hell does that mean anyway?  I never knew there was a clever way...

      slandrum
      Or maybe you are just hiding your incompetence behind your complaints.

      Or hiding his laziness.  Its bad enough that so many slackers post on this forum looking for handouts, but this guy takes the cake, getting pissy when he may actually have to do some work on his own.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Apr 09 2012 02:32 AM
      Guru31995 points

      Ludger Marwitz
      you should think about the way you handle customers

      I'm sorry if you thought that I was a TI support agent. As others have noted, I am not.

      If you were my customer - ie, you had contracted me to create this example for you and were paying for that work - the situation would be entirely different...

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • TI Alex
      Posted by TI Alex
      on Apr 09 2012 17:07 PM
      Expert8210 points

      Ludger,

      First off, thanks for buying the EKS-LM3S9B92 eval board. It's good to hear you have worked through our examples successfully.

      There are infinite examples that TI can provide, so we try to come up with the best set of examples that will help get you started. We do not have a specific example to do exactly what you want, but we have examples that use UDP and LWIP and I would suggest using those as a starting point.

      [root]\StellarisWare\boards\ek-lm3s9b92\enet_lwip

      • This example uses TCP with the lwip stack

      [root]\StellarisWare\boards\ek-lm3s9b92\enet_uip

      • This example used UDP with the uip stack
      If you have any questions about those examples let me know and I will be glad to help.
      Regards,
      Alex
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Andy Neil
      Posted by Andy Neil
      on Apr 10 2012 00:25 AM
      Guru31995 points

      Stellaris Alex
      There are infinite examples that TI can provide, so we try to come up with the best set of examples that will help get you started

      Of course, any one provider can only give a finite set of examples.

      That's why it is beneficial to note that LwIP is not specific to Stellaris and, thus, that the search does not need to be limited to TI-provided Stellaris examples. This widens your search domain and, thus, increases your chances of success.

      It should also be noted that LwIP is not the only IP stack;  so, if you find LwIP unsatisfactory, there are plenty more to choose from - both open-source and commercial...

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ludger Marwitz
      Posted by Ludger Marwitz
      on Apr 10 2012 14:06 PM
      Prodigy60 points

      Thank you very much Alex !

      I hope I can use the enet_uip.

      Regards, Ludger

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Maxime Champagne
      Posted by Maxime Champagne
      on Apr 10 2012 14:48 PM
      Intellectual470 points

      Hi,

      I'm looking for an example who transfer data using lwip stack on stellaris uC.  I don't want the http layer because in my case, a custom application will communicate with my uC using only the TCP layer. 

      The two examples about lwip provided in the standard example package (enet_io and enet_lwip) use http.

      I'm looking for an example code to start with...

      Thanks,

      Maxime

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Alan Nilsson
      Posted by Alan Nilsson
      on Apr 10 2012 15:18 PM
      Prodigy190 points

      Maxime Champagne
      The two examples about lwip provided in the standard example package (enet_io and enet_lwip) use http.

      True, but since http uses tcp as its transport, you can take the sample http server code and strip off the http and be left with the example you are looking for.

      Read the docs for lwIP, specifically lwip-1.3.2/docs/rawapi.txt, then look how those calls are being used in lwip-1.3.2/apps/httpserver_raw/httpd.c

      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