Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Device Driver Implementation

This chapter describes the hardware (device) driver architecture for µCµC/TCP-IP. In order to understand the concepts discussed in this guide, you should be familiar with networking principles, the TCP/IP stack, real-time operating systems, and microcontrollers and processors.

µCµC/TCP-IP operates with a variety of network devices. Currently, µCµC/TCP-IP supports supports wired and wireless Ethernet type interface controllers wired and wireless, and will support serial, PPP, USB , and other popular interfaces in future releases.

There are many Ethernet controllers available on the market and each requires a driver to work with µCµC/TCP-IP. The amount of code needed to port a specific device to µCµC/TCP-IP greatly depends on device complexity.

If a driver for your hardware is not already available, you can develop a driver as described in this book. The best approach is to modify an already existing device driver with your device’s device’s specific code, following the Micrium coding convention for consistency. It is also possible to adapt drivers written for other TCP/IP stacks, especially if the driver code is short and it is a matter of simply copying data to and from the device.