lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LWIP RAW API usage


From: Jim Gibbons
Subject: Re: [lwip-users] LWIP RAW API usage
Date: Fri, 23 Apr 2004 10:29:55 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

We are also using LWIP, uCOS-II on an Altera Nios.  At the moment, it is the original Nios.  We intend to cut over to Nios2 shortly.  Despite having all of this in common with you, we are not using the raw API.  I'm afraid that I didn't quite understand the reasoning for using it.  Is this a matter of a very high data rate?  very limited code space?  task constraints?

The reason I ask is that absent constraints, I would prefer to use the higher level API.  If I was responding to polls, I would want to allocate a task to do so.

Just out of curiosity, are you using Nios2?

schulz, marco wrote:

Hi all,

 

I want to use LWIP together with uCOS-II on an ALTERA NIOS processor. As the main processing part of a data acquisition system the NIOS should do the readout of some ADC channels and build data packets that will be sent to a remote host in a streaming manner.

 

During my first test I could find out that the data throughput using sequential API is small for my application – so I decided to use the RAW API.

I tried the sample programs (httpd.c) and I think I understood the usage of the callbacks.

But when I do my own programs with several tasks to test the streaming I am running into some problems after a short time of operation.

In the Document “Design and Implementation of the LWIP TCP/IP Stack” in chapter 11, I found the following statement: “Furthermore, an application program that interfaces the TCP and UDP modules directly has to (at least partially) reside in the same process as the TCP/IP stack”.

 

So here is my question: Does anybody have sample programs that show the proper usage of the RAW API together with other task (e.g. one task that creates data the will be sent with the RAW API) or can somebody give me a short scheme of how to do this?

 

Tank you in advance, M.Schulz.

 

****************************************

Dipl.-Ing. (FH) Marco Schulz

IPHT Jena

Dept. Quantum Electronics

Albert-Einstein-Str. 9

07745 Jena

 

Phone: +49 3641 206118

FAX:    +49 3641 206199

****************************************

 


_______________________________________________ lwip-users mailing list address@hidden http://mail.gnu.org/mailman/listinfo/lwip-users

--
E-mail signature
Jim Gibbons
address@hidden
Gibbons and Associates, Inc.
TEL: (408) 984-1441
900 Lafayette, Suite 704, Santa Clara, CA
FAX: (408) 247-6395



reply via email to

[Prev in Thread] Current Thread [Next in Thread]