Minimum stack size should be 2048 bytes, minimum heap size should be at least 2048 bytes.
The on-chip EMAC requires a packet buffer to be located in internal memory. Use the following instructions in your linker command file to map the packet buffer internally:
Definition in application linker command file App.cmd:
packet buffer assignment in netlib linker command file \Libs\Netlib\net.cmd by using previous definition:
All other memories (buffers, etc.) are user-defined and application specific and may be allocated statically or dynamically.
The net.lib library uses two special code sections:
Performance critical functions are located in .nettextfast and should be mapped to fastest memory in the linker command file. .nettextslow can be linked to slower memory without noticeable performance penalties.
Also all .far sections should be located in internal memory to avoid cache coherence problems.
Example linker command file: Refer to Example Linker Command File
Definition in application linker command file App.cmd:
Memory assignment in netlib linker command file \Libs\Netlib\net.cmd by using previous definition:
The Common Support Modules included with the Support SW can also be linked to external memory, since no time-critical function is defined within these modules. Use the following linker instruction to link these modules to external memory:
Definition in application linker command file App.cmd:
Memory assignment in linker command file \Common\CommonSections.cmd by using previous definition:
Required Code and Data size depends on used protocols and sockets: