EmbeddedRelated.com
Forums

TNKernel

Started by Nils Springob June 1, 2012
Hi all,

I know very little about IP Stacks or LAN in embedded systems.
Can one one recommend ( ie that have actually used the Book) any Books ?
many thanks

BD



An Engineer's Guide to the LPC2100 Series

--- In l..., bonzadog wrote:
>
> Hi all,
>
> I know very little about IP Stacks or LAN in embedded systems.
> Can one one recommend ( ie that have actually used the Book) any Books ?
> many thanks
>
> BD
>
If you want to USE a stack, the documentation is the place to start. The Microchip stack, uIP & lwIP all have documentation. Normally the stack is provided by others and all that remains is to interface the application to the stack. Sometimes the lowest level hardware drivers need to be written. The stack itself is a block in the middle between the hardware drivers and the application. Most stacks provide a variety of protocols (ARP, DHCP Client, DNS Client, TCP, UDP, IP, etc).

If you want to WRITE a stack, all of the RFCs (Request For Comments) are useful as are any of the text books by Comer such as "Internetworking with TCP/IP" Volumes 1 & 2.

"The TCP/IP Guide" by Kozierok might be useful. I have been working my way through it.

The Microchip stack for the PIC32 is nicely done and there is a TON of code and a comprehensive demo program. I am using it for a rather simple project but along the way I decided WiFi would be nice. All of the necessary code is included - many other stacks (uIP, lwIP) don't get involved with WiFi, instead leaving it for the user to implement.

Richard

A simpler alternative: outboard the IP stack using one of these devices. The microprocessor side is simply a socket interface via SPI commands/responses. Getting an IP stack with ARP, ICMP, IP, TCP, DHCP, for several concurrent connections, with DHCP renewal, and multi-tasking is difficult.

http://www.saelig.com/MFR00088/BRD032.htm

wiznet's Wiz820IO module.
--- In l..., "rtstofer" wrote:
>
> --- In l..., bonzadog wrote:
> >
> > Hi all,
> >
> > I know very little about IP Stacks or LAN in embedded systems.
> > Can one one recommend ( ie that have actually used the Book) any Books ?
> > many thanks
> >
> > BD
> >
> If you want to USE a stack, the documentation is the place to start. The Microchip stack, uIP & lwIP all have documentation. Normally the stack is provided by others and all that remains is to interface the application to the stack. Sometimes the lowest level hardware drivers need to be written. The stack itself is a block in the middle between the hardware drivers and the application. Most stacks provide a variety of protocols (ARP, DHCP Client, DNS Client, TCP, UDP, IP, etc).
>
> If you want to WRITE a stack, all of the RFCs (Request For Comments) are useful as are any of the text books by Comer such as "Internetworking with TCP/IP" Volumes 1 & 2.
>
> "The TCP/IP Guide" by Kozierok might be useful. I have been working my way through it.
>
> The Microchip stack for the PIC32 is nicely done and there is a TON of code and a comprehensive demo program. I am using it for a rather simple project but along the way I decided WiFi would be nice. All of the necessary code is included - many other stacks (uIP, lwIP) don't get involved with WiFi, instead leaving it for the user to implement.
>
> Richard
>

--- In l..., bonzadog wrote:
>
> Hi all,
>
> I know very little about IP Stacks or LAN in embedded systems.
> Can one one recommend ( ie that have actually used the Book) any Books ?
> many thanks
>
> BD
>
>

I've been using this one for a couple of years.
http://www.embeddedinternet.org/embedded/Book.aspx

-Hershel