lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51


From: Bilal Muddassir
Subject: [lwip-users] Re: [lwip] Using lwIP with CS8900A on Atmel 89C51
Date: Wed, 08 Jan 2003 22:13:53 -0000

Hi

>Ouch! 52kb is quite a lot too much in a 64kb address space. Would it be
>possible for you to post the code size of each module separately? That 
>could
>give some insight into what modules that are the worst offenders. Usually,
>TCP is 50% of the code size.

Well in that case the real test is to do recompiles and try to get as much 
optimized code as possible. I would also try coding the application in 
assembly and then calling tcp/ip functions from there although I don't know 
how much benefit that would get me.

> > I guess lwIP is growing too much for 8051 architecture.
> > Likely it is still usable (I mean it leaves more code space for the
> > application) with other more recent and efficient 8 bit micros, as Atmel
> > AVR.
>
>I tested running a quick'n'dirty compilation with avr-gcc 3.0 and it 
>compiled
>lwIP to around 28k (which still is quite a lot). lwIP wasn't really 
>designed
>for 8 bitters. For instance, so there is a lot of 32-bit arithmetic that
>isn't suited well for 8-bit CPUs.

8 bitters are a problem no doubt in that sense :)

What is the difference between the uIP code and the lwIP code? And then with 
respect to 8051?

Regards
-Bilal

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

[This message was sent through the lwip discussion list.]




reply via email to

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