TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Example with UDP and lwIP on LM3S9B92
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 ?
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.
Ludger MarwitzIt looks that this kit doesn't include this. Is there any example in another kit that I can download from TI
LwIP is not specific to TI/Stellaris - so don't limit yourself to just TI/Stellaris examples!
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 ?
Ludger MarwitzBut 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 MarwitzIs 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.
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.
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.
Ludger MarwitzFurthermore 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.
Ludger MarwitzBut 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 MarwitzI 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 MarwitzIs 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 Marwitzinstead of clever shitting ?
What the hell does that mean anyway? I never knew there was a clever way...
slandrumOr 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.
Ludger Marwitzyou 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...
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.
Stellaris AlexThere 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...
Thank you very much Alex !
I hope I can use the enet_uip.
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...
Maxime ChampagneThe 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
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.