Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.03.00

...

  1. Transmit small buffers
  2. Transmit large buffers
  3. Receive large buffers
  4. Network Buffers (Network Buffer header and pointer to data area)
  5. DMA receive descriptors
  6. DMA transmit descriptors
  7. Interface data area
  8. Device driver data area
  9. OS objects (Semaphore, mutex, stack)
  10. ICMP Echo request objects (note that object are only allocated when the ICMP Echo request is sent, not at during the Network Protocol Stack initialization)

 

In the following example, the use of a Network Device Driver with DMA support is assumed. DMA descriptors are included in the analysis. The size of Network Buffer Data Areas (1, 2, 3) vary based on configuration. Refer to Chapter 9, “Buffer Management”. However, for this example, the following object sizes in bytes are assumed:

...

The value determined by these expressions is only an estimate. In some cases, it may be possible to reduce the size of the µC/LIB memory heap by inspecting µC/LIB (see see  libdoc) after all interfaces have been successfully initialized and any additional application allocations (if applicable) have been completed.