C/TCP-IP: The Embedded Protocol Stack and the Texas Instruments Lm3s9b92
Book by Légaré, Christian
Why Read This Book
You will get a practical, code-first walkthrough of an embedded TCP/IP stack implementation tailored to the TI LM3S9B92, including Ethernet MAC/PHY handling and real examples. The book teaches the low-level mechanics you need to understand and port network protocols to resource-constrained microcontrollers.
Who Will Benefit
Embedded firmware engineers and IoT developers who write networked firmware on Cortex‑M devices and need a concrete reference for implementing or porting a TCP/IP stack to real hardware.
Level: Intermediate — Prerequisites: Comfortable C programming, familiarity with microcontroller peripherals and interrupts, and basic understanding of networking concepts (IP/ARP/TCP/UDP).
Key Takeaways
- Implement Ethernet MAC and PHY drivers for the TI LM3S9B92 and similar Cortex‑M devices.
- Build ARP, IPv4, ICMP, UDP and a basic TCP implementation in C suitable for embedded constraints.
- Design memory and packet buffer management strategies for small RAM footprints.
- Integrate the network stack with interrupt-driven I/O and application code on a microcontroller.
- Port the stack design and drivers to other ARM Cortex‑M microcontrollers and toolchains.
- Debug and test embedded network stacks using real hardware examples and diagnostic techniques.
Topics Covered
- Introduction to Embedded Networking and the LM3S9B92
- Overview of the C/TCP‑IP Architecture
- Hardware: Ethernet MAC, PHY and Board Setup
- Ethernet Frames and ARP Implementation
- IPv4 Packet Processing and Routing Basics
- ICMP (Ping) and Diagnostic Messages
- UDP: Stateless Transport and Applications
- TCP: Connection Management, Retransmission and Flow Control
- Socket-like API and Example Network Applications (HTTP, simple servers)
- Memory Management and Packet Buffer Strategies
- Interrupts, Concurrency and Integration with Firmware
- Performance Tuning, Testing and Debugging
- Porting Guide and Adapting to Other Microcontrollers
- Appendices: Source Code, Register Maps and Build Instructions
Languages, Platforms & Tools
How It Compares
More hands-on and hardware-specific than lwIP/uIP documentation — where lwIP is a mature, feature-rich stack, Légaré's book shows how to build and understand a compact stack from first principles on TI's LM3S9B92.













