EmbeddedRelated.com
Forums

uIP vs. lwIP

Started by "r.morash" January 16, 2008
I am starting development using the LPC2368 (I have the MCB2300 board)

The LPC2368 is going to need to be able to acquire a IP address from a
router if it is present(dhcpc) and it will need to be able to
establish a TCP connection for direct communication and able to
connect to a UDP/multicast port to run a SCADA application (BACnet
and/or Profinet/P
rofibus)

The freeRTOS(which I want to use) demo for the board uses uIP but does
not have a UDP connection built into the demo and uIP seems a bit
barebone while lwIP seems more complete (but with a bigger footprint).

Does anyone out there have any advice/opinions on which TCP/IP stack
to use for my application and is there examples out there for each stack?

The 2368 will also be logging data to a SPI flash memory, displaying
data on an LCD and communicating with another chip via CANbus and no
USB at this point.

Thanks for any input

An Engineer's Guide to the LPC2100 Series

I have the same problem--deciding between uIP and lwIP.

I require only one IP connection with the paired device, but that
connection must be PPP. As I understand, uIP only provides SLIP.

Please keep us informed of your progress with uIP/lwIP.

Thanks,

r.morash wrote:
> I am starting development using the LPC2368 (I have the MCB2300 board)
>
> The LPC2368 is going to need to be able to acquire a IP address from a
> router if it is present(dhcpc) and it will need to be able to
> establish a TCP connection for direct communication and able to
> connect to a UDP/multicast port to run a SCADA application (BACnet
> and/or Profinet/P
> rofibus)
>
> The freeRTOS(which I want to use) demo for the board uses uIP but does
> not have a UDP connection built into the demo and uIP seems a bit
> barebone while lwIP seems more complete (but with a bigger footprint).
>
> Does anyone out there have any advice/opinions on which TCP/IP stack
> to use for my application and is there examples out there for each stack?
>
> The 2368 will also be logging data to a SPI flash memory, displaying
> data on an LCD and communicating with another chip via CANbus and no
> USB at this point.
>
> Thanks for any input
>
>
>