Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

[lpc2000] Re: LPC23xx ethernet

2005-03-11 by Bill Knight

Mark
  For free stacks there is lwip (also originally by Adam Dunkels).
I have it running on an LPC w/ a cs8900.  Without the web pages
it takes up about 50K of flash.  I have 256K of flash and a bunch
of exteranl RAM so have not tried to optimize it for size.  Two
smaller commercial alternatives are available from CMX and
InterNiche.

BTW - what SPI based 100M LAN chip are you using??  I have heard
of the one from MicroChip but I thought it was only 10BaseT and
wasn't yet available.  There is also the W3100A from WizNET that
is 10/100 but it's interface is the slower (400kbps) I2C.

Regards
-Bill Knight
R O SoftWare &
http://www.theARMPatch.com

On Fri, 11 Mar 2005 20:52:32 -0000, Mark Butcher wrote:

Hi Guys

I have an application running on the LPC210x with a 100M LAN over SPI.
The code size is about 14k with ARP/IP/ICMP/TCP/UDP/DHCP incl. small
application with op-sys and necessary drivers. RAM about 3k.Compiled
with IAR compiler...the same program occupies about 30k on an HC12
compiled with GNU.

The uIP TCP stack seems to be rather more efficient but it depends a
lot on just what it really can do - it is possible to support more or
less features in the protocol layers so a comparison is not so black
and white.

A stack with full support could indeed get rather big. 

Regards

Mark Butcher

www.mjbc.ch


--- In lpc2000@yahoogroups.com, Bryce Schober <bryce.schober@g...> wrote:
> On Fri, 11 Mar 2005 19:13:59 -0000, Gus <gus_is_working@y...> wrote:
> >  For real TCP/IP application, you need over 128K of FLASH. 
> 
> Wrong, see: http://www.sics.se/~adam/uip/
> 
> Even if each 8-bit Atmel AVR instruction translated to a 32-bit ARM
> instruction, the sample stack configuration here:
> http://www.sics.se/~adam/uip/size.html would occupy less than 32k.
> 
> -- 
> Bryce Schober

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.