EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Need Help with NicheLite TCP Stack - It is getting disconnected from LAN after some time ( 10-30 minuts)

Started by Saurabh Pandya September 5, 2009
Dear Experts,

I am trying to connect the MCB-2300 (LPC2378- 32+16+8 KB RAM) board to the
Ethernet LAN network after loading Nichelite TCP stack to it.

My Office network have around 80 PCs in LAN, When I am configuring Nichelite
loaded board with IP 199.199.50.67 (unique ip), and plug it in network. Here
I am doing PING test with any of the networked PC. It works well initially.
But, after some time (say 1/2/3 hours) pc is not getting reply of the PING.

I have two doubts regarding this what happening. pls provide me your
thoughts

If any of you faced this situation.

1) eth SR not getting invoke ones it disconnected (while PHY link register
shows physical connectivity)

At that time I debugged at code. What I see is that eth_isr0(void) __irq
(emac.c) is not getting invoke (which should- I think) anymore then.

I referred the implementation manual published at NXP site for nichelite
implementation note.

>From which I could tried to alter NUMBIGBUFS, NUMLILBUFS, BIGBUFSIZE,
LILBUFSIZE defines by diff values , I could see that it affects how much
time the board can live in network.

2) When I use consol command "buffer" after once it disconnected from
network, I could see many duplicate allocated buffers.

And No of free big buffers get exhausted. (IE somehow I am feeling that
buffers allocation and de-allocation of packets not working well)

Friends !

Is there any rugged method/patch/settings which I can apply to make sure my
MCB2300 board lives in the network 24x7 with (continuous PING TEST form
other PC)

-Thanks,

Saurabh



An Engineer's Guide to the LPC2100 Series

What my observations about this stack are as below

-> It comes with very little documents so, debugging is just code pinning
with this stack
--> You will get alomost zero support from any community, and its company
support is paid (Almost its price is greater then any licenced
stack!)
--> Many bugs are there in this implementation like Packet memory handling
is very poor
--> I stack my head for month and I could not ractify its disconnectivity
Issue.
--> Pls go to uIP, uTasker or any other licenced stack rather then such
self claimed freeware, Else utimatly you will have to pay Higer then
Paid stack for open source quality !!

-Saurabh
Saurabh,

Why is this a "Re:"?? I see no original message and there are no
reference headers in your mail.

Many people use NicheLite; what processor are you attempting to use?

What stack did you end up going with?

dik

Am 10/10/2009 5:41 AM, also sprach s...@cimcon.com:
> What my observations about this stack are as below
>
> -> It comes with very little documents so, debugging is just code pinning
> with this stack
> --> You will get alomost zero support from any community, and its company
> support is paid (Almost its price is greater then any licenced
> stack!)
> --> Many bugs are there in this implementation like Packet memory handling
> is very poor
> --> I stack my head for month and I could not ractify its disconnectivity
> Issue.
> --> Pls go to uIP, uTasker or any other licenced stack rather then such
> self claimed freeware, Else utimatly you will have to pay Higer then
> Paid stack for open source quality !!
>
> -Saurabh
>
Dick Balaska wrote:
> Saurabh,
>
> Why is this a "Re:"?? I see no original message and there are no
> reference headers in your mail.
>
> Many people use NicheLite; what processor are you attempting to use?
>
> What stack did you end up going with?

WITTENSTEIN (the company that do the commercial
licenses/support/services for FreeRTOS) have a downloadable demo that
uses NicheLite on an LPC1768. I have not looked at the code but have
seen it running and all seemed well. Go to http://www.openrtos.com then
click the 'Downloads' menu at the top, followed by 'Connect Demo'.

[declaration of interest - I do do work for WITTENSTEIN, but this is a
free stack so hope this does not seem like a commercial. Other TCP/IP
solutions exist!]
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.
It was in the reference of one of the older post..at LPC 2300 forums



It is hard to believe for me that how many commercial usage of this stack
nicheLite.



BTW I am using LPC2388 Rightnow After fair evaluation I think I will go
with uTasker.



_____

From: l... [mailto:l...] On Behalf Of
FreeRTOS Info
Sent: Sunday, October 11, 2009 12:14 PM
To: l...
Subject: Re: [lpc2000] Re: Need Help with NicheLite TCP Stack - It is
getting disconnected from LAN after some time ( 10-30 minutes)




Dick Balaska wrote:
> Saurabh,
>
> Why is this a "Re:"?? I see no original message and there are no
> reference headers in your mail.
>
> Many people use NicheLite; what processor are you attempting to use?
>
> What stack did you end up going with?

WITTENSTEIN (the company that do the commercial
licenses/support/services for FreeRTOS) have a downloadable demo that
uses NicheLite on an LPC1768. I have not looked at the code but have
seen it running and all seemed well. Go to http://www.openrtos
.com then
click the 'Downloads' menu at the top, followed by 'Connect Demo'.

[declaration of interest - I do do work for WITTENSTEIN, but this is a
free stack so hope this does not seem like a commercial. Other TCP/IP
solutions exist!]

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.




Memfault Beyond the Launch