Forums

please share your opinion about TCP Stack for LPC 23xx

Started by Saurabh Pandya September 9, 2009
Dear all,

I am keen to know the general review of TCP/IP stack, uTasker (with their
RTOS)

[I mean functional performance over ROTS , TCP , Network stress , real time
performance etc..]

As I am going to make selection on TCP/IP stack for LPC 2388, I worked with
Nichelite before

And its was not good experience to work with nichelite stack, due to many
flaws in this OPEN source version.

Now I am testing uTasker , Please Share your opinion..

-Saurabh



An Engineer's Guide to the LPC2100 Series

> As I am going to make selection on TCP/IP stack for LPC 2388, I worked
> with
> Nichelite before

My first question would be, what is it you are wanting to do with your
TCP/IP connection? TCP/IP stacks are many and varied, none are suitable for
all applications. You would have to mention which protocols you were
wanting to use, what sort of throughput you need, etc. for people to offer a
good judgment. uIP and lwIP are both interesting products, but you would
use them both in different situations.

[btw - we can assist with Interniche integration, contact me offline if that
might be of interest]

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.

Thanks !



I plan to hook up TCP Modbus application protocol with Network Speed

Not much constraints , while also want to provide support for HTTP for web
pages.

And classical Ping anyway will require, Thats all !



While with nichelite , I was facing issue of network dis-connectivity after
some time.

In this case when I am connecting MCB board with nichelite stack and,
testing the

Ping from networked PC, it works well initially but after some time say
10-15 minuts

Board get disconnected and no longer replying ping , I tried hard to solve
this issue

By trying dozes of parameters like Big buffers, little buffers , stacks ,
heaps , EMAC ISR

Netsting etc, but issue still there and I was unlucky in getting any support
from community.



So if you have any idea how to getting around with this problem, then it
would be simply great.



-Saurabh

> As I am going to make selection on TCP/IP stack for LPC 2388, I worked
> with
> Nichelite before

My first question would be, what is it you are wanting to do with your
TCP/IP connection? TCP/IP stacks are many and varied, none are suitable for
all applications. You would have to mention which protocols you were
wanting to use, what sort of throughput you need, etc. for people to offer a
good judgment. uIP and lwIP are both interesting products, but you would
use them both in different situations.

[btw - we can assist with Interniche integration, contact me offline if that
might be of interest]

Regards,
Richard.

+ http://www.FreeRTOS .org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS .com
Certified by T as meeting the requirements for safety related systems.



Depends on how much RAM you have. If all you are using is the onchip RAM, than lwIP in RAW mode is probably best, if you want to do anything serious. I used uTasker and NicheLite, am now using lwIP. Very little stack code out there runs well on 64K RAM. Most stacks take a lot more RAM space. All stacks take time and work to integrate.

Chris.



Do you have the console attached to your Nichelite app? Normally it will
print out helpful errors/warnings/panics if it gets into problems.

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.
> -----Original Message-----
> From: l... [mailto:l...] On
> Behalf Of Saurabh Pandya
> Sent: 09 September 2009 13:57
> To: l...
> Subject: RE: [lpc2000] please share your opinion about TCP Stack for
> LPC 23xx
>
>
>
> Thanks !
>
> I plan to hook up TCP Modbus application protocol with Network Speed
>
> Not much constraints , while also want to provide support for HTTP for
> web
> pages.
>
> And classical Ping anyway will require, Thats all !
>
> While with nichelite , I was facing issue of network dis-connectivity
> after
> some time.
>
> In this case when I am connecting MCB board with nichelite stack and,
> testing the
>
> Ping from networked PC, it works well initially but after some time say
> 10-15 minuts
>
> Board get disconnected and no longer replying ping , I tried hard to
> solve
> this issue
>
> By trying dozes of parameters like Big buffers, little buffers , stacks
> ,
> heaps , EMAC ISR
>
> Netsting etc, but issue still there and I was unlucky in getting any
> support
> from community.
>
> So if you have any idea how to getting around with this problem, then
> it
> would be simply great.
>
> -Saurabh
>
> > As I am going to make selection on TCP/IP stack for LPC 2388, I
> worked
> > with
> > Nichelite before
>
> My first question would be, what is it you are wanting to do with your
> TCP/IP connection? TCP/IP stacks are many and varied, none are suitable
> for
> all applications. You would have to mention which protocols you were
> wanting to use, what sort of throughput you need, etc. for people to
> offer a
> good judgment. uIP and lwIP are both interesting products, but you
> would
> use them both in different situations.
>
> [btw - we can assist with Interniche integration, contact me offline if
> that
> might be of interest]
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS > > .org
> Designed for Microcontrollers. More than 7000 downloads per month.
>
> + http://www.SafeRTOS > > .com
> Certified by T as meeting the requirements for safety related
> systems.
>
>
>
>
>
>

Yes consol is attached I can see No panic/warning/error comes when it gets
disconnected from

Network ( My network is made up of around 50 PCs, 1 router , Switches etc).



But I can observe that when it disconnected , no ETH ISR is coming , and on
entering of buffer

Command at consol , I can see many duplicate packets allocated.



_____

From: l... [mailto:l...] On Behalf Of
FreeRTOS Info
Sent: Wednesday, September 09, 2009 7:12 PM
To: l...
Subject: RE: [lpc2000] please share your opinion about TCP Stack for LPC
23xx





Do you have the console attached to your Nichelite app? Normally it will
print out helpful errors/warnings/panics if it gets into problems.

Regards,
Richard.

+ http://www.FreeRTOS .org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS .com
Certified by T as meeting the requirements for safety related systems.

> -----Original Message-----
> From: lpc2000@yahoogroups .com
[mailto:lpc2000@yahoogroups .com] On
> Behalf Of Saurabh Pandya
> Sent: 09 September 2009 13:57
> To: lpc2000@yahoogroups .com
> Subject: RE: [lpc2000] please share your opinion about TCP Stack for
> LPC 23xx
>
>
>
> Thanks !
>
> I plan to hook up TCP Modbus application protocol with Network Speed
>
> Not much constraints , while also want to provide support for HTTP for
> web
> pages.
>
> And classical Ping anyway will require, Thats all !
>
> While with nichelite , I was facing issue of network dis-connectivity
> after
> some time.
>
> In this case when I am connecting MCB board with nichelite stack and,
> testing the
>
> Ping from networked PC, it works well initially but after some time say
> 10-15 minuts
>
> Board get disconnected and no longer replying ping , I tried hard to
> solve
> this issue
>
> By trying dozes of parameters like Big buffers, little buffers , stacks
> ,
> heaps , EMAC ISR
>
> Netsting etc, but issue still there and I was unlucky in getting any
> support
> from community.
>
> So if you have any idea how to getting around with this problem, then
> it
> would be simply great.
>
> -Saurabh
>
> > As I am going to make selection on TCP/IP stack for LPC 2388, I
> worked
> > with
> > Nichelite before
>
> My first question would be, what is it you are wanting to do with your
> TCP/IP connection? TCP/IP stacks are many and varied, none are suitable
> for
> all applications. You would have to mention which protocols you were
> wanting to use, what sort of throughput you need, etc. for people to
> offer a
> good judgment. uIP and lwIP are both interesting products, but you
> would
> use them both in different situations.
>
> [btw - we can assist with Interniche integration, contact me offline if
> that
> might be of interest]
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS .org
> .org> > .org
> Designed for Microcontrollers. More than 7000 downloads per month.
>
> + http://www.SafeRTOS .com
> .com> > .com
> Certified by T as meeting the requirements for safety related
> systems.
>
>
>
>
>
>



> I plan to hook up TCP Modbus application protocol with Network Speed
>
> Not much constraints , while also want to provide support for HTTP for web
> pages.
>
> And classical Ping anyway will require, That's all !
>

Just to let you know uTasker has an aditional module that provides comprehensive Modbus support (RTU,ASCII,Serial,TCP,Queueing etc). See
http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF we use this and its very powerful.

Good luck

Cheers

Martin