Global Sources
EE Times-India
Stay in touch with EE Times India
 
EE Times-India > Networks
 
 
Networks  

Address issues in embedding TCP/IP (Part 2)

Posted: 10 Apr 2013     Print Version  Bookmark and Share

Keywords:TCP/IP  Ethernet  protocol  zero-copy architecture 

The footprints (code size) for the protocols are approximations and can thus vary from one TCP/IP stack to another. Some of these protocols are not part ofµC/TCP-IP and therefore show that a TCP/IP stack can work without them. CurrentµC/TCP-IP limitations are shown in table 2.

Without introducing all of theµC/TCP-IP modules and data structures, the following sections provide an estimate of theµC/TCP-IP code and data footprint.

 

 

Table 2: µC/TCP-IP limitations.

µC/TCP-IP code footprint
Memory footprints were obtained by compiling the code on a popular 32bit CPU architecture. Compiler optimisation was set to maximum optimisation for size or speed as indicated.µC/TCP-IP options are set for most disabled or all enabled. The numbers are provided as orders of magnitude for design purposes.

The table excludes NIC, PHY, ISR and BSP layers since these are NIC and board specific.

Table 3: µC/TCP-IP code footprint.

µC/TCP-IP add-on options code footprint

Table 4: µC/TCP-IP add-on options code footprint.

As seen in Layers 5-6-7 – The Application, services and standard application software modules found at the Application layer can be used in the product design to provide certain functionalities. Such application modules are offered as options forµC/TCP-IP. Although an in-depth discussion of memory footprint is outside the scope of this book, the memory footprint for the optional modules is included below for planning purposes.

The footprints in table 4 were obtained by compiling the code on a popular 32bit CPU architecture. The numbers are provided as orders of magnitude for design purposes.

About the author
Christian Legare is from Micrium.

To download the PDF version of this article, click here.


 First Page Previous Page 1 • 2 • 3



Comment on "Address issues in embedding TCP/IP (..."
Comments:  
*  You can enter [0] more charecters.
*Verify code:
 
 
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

 

Go to top             Connect on Facebook      Follow us on Twitter      Follow us on Orkut

 
Back to Top