TCP/IP Stack Configuration ParametersRETAIN/CHANGERemark
Use TCP/IP Stack  CHANGECheck the checkbox to use the TCP/IP Stack
 IPv4 RETAINEnabled by Default.
 IPv6 RETAINDisabled by Default. You do not require IPv6 for this demo.
Use TCP   Enabled by default. TCP is a standard transport layer protocol described in RFC 793. It provides reliable stream-based connections over unreliable networks, and forms the foundation for HTTP, SMTP, and many other protocol standards.
 Max TX Segment SIze RETAINTCP Maximum Segment Size for TX. This parameter sets a hard limit so that the TX buffers do not overflow
 Max Local RX Segment Size RETAINTCP Maximum Segment Size for RX (MSS). This value is advertised during TCP connection establishment and the remote node should obey it.
 Max Non-Local RX Segment Size RETAINMaximum Segment Size for RX (MSS) for non local destination networks.
 Default TX Size RETAINDefault socket TX buffer size. Note that this setting affects all TCP sockets that are created and, together with TCPIP_TCP_MAX_SOCKETS, has a great impact on the heap size that's used by the stack
 Default RX Size  Default socket RX buffer size. Note that this setting affects all TCP sockets that are created and, together with TCPIP_TCP_MAX_SOCKETS, has a great impact on the heap size that's used by the stack
 Enable TCP Sockets Dynamic Options RETAINEnable the TCP sockets dynamic set/get functionality
 Start Time-out -ms RETAINTimeout to retransmit un-acked data, ms
 Delayed Ack Time-out -ms RETAINTimeout for delayed-acknowledgment algorithm, ms
 Fin Wait 2 Time-out -ms RETAINTimeout for FIN WAIT 2 state, ms. Automatically reset the socket on your end if the other side fails to close its connection
 Keep Alive Time-out -ms RETAINTimeout for keep-alive messages when no traffic is sent, ms. When two hosts are connected over a network via TCP/IP, TCP Keepalive Packets can be used to determine if the connection is still valid and terminate it if needed.
 Close Wait Time-out -ms RETAINTimeout for the CLOSE_WAIT state, ms. If the application doesn't call TCPIP_TCP_Disconnect() as needed and expects the stack to automatically close sockets when the remote node sends a FIN, a timer is started so that the socket will eventually be closed automatically
 Max Retries RETAINMaximum number of retransmission attempts
 Max Unacked Keep Alives RETAINMaximum number of keep-alive messages that can be sent without receiving a response before automatically closing the connection
 Auto Transmit Time-out -ms RETAINTimeout before automatically transmitting unflushed data, ms. Default value is 40 ms.
 Window Update Time-out -ms RETAINTimeout before automatically transmitting a window update due to a TCPIP_TCP_Get() or TCPIP_TCP_ArrayGet() function call, ms.
 Max Sockets RETAINThe maximum number of sockets to create in the stack. When defining TCPIP_TCP_MAX_SOCKETS, take into account the number of interfaces the stack is supporting. Increasing the max number of sockets will create a heap overhead for the application.
 TCP Task Rate RETAINThe TCP task processing rate: number of milliseconds to generate a TCP tick. This is the tick that advances the TCP state machine.
Use UDP  RETAINEnabled by Default. UDP provides fast but unreliable data-gram based transfers over networks and forms the foundation SNTP, SNMP, DNS, and many other protocol standards. You will use UDP for this application.
 Max Sockets RETAINMaximum number of UDP sockets that can be opened simultaneously. These sockets will be created when the module is initialized.
 Default TX Buffer Size RETAINDefault socket TX buffer size. Note that this setting affects all UDP sockets that are created and, together with TCPIP_UDP_MAX_SOCKETS, has a great impact on the heap size that's used by the stack
 Calculate TX Checksum RETAINEnabled by Default. Calculate and transmit a checksum when sending data. Checksum is not mandatory for UDP packets but is highly recommended. This will affect the UDP TX performance.
 Calculate RX Checksum RETAINEnabled by Default. Check incoming packets to have proper checksum.
 TX Queue Limit RETAINThe maximum number of TX packets that can be queued by an UDP socket at a certain time
 RX Queue Limit RETAINThe maximum number of RX packets that can be queued by an UDP socket at a certain time. Once this limit is reached further incoming packets are silently discarded
 Enable Pool Buffers RETAINDisabled by Default. Enables the build of the pre-allocated pool buffers option
Number of Network Configurations  RETAINAs you are using only 1 ethernet connection for this demo, you will retain this value as 1.
Network Configuration 0    
 Interface  CHANGEYou are using the ethernet interface of the PIC, so you will change this option to PIC32INT.
 Host Name RETAINValid Host name for this interface to use. The name is user defined. You will retain the name provided by MHC for this application.
 MAC Address RETAINThis field will configure the MAC address for the interface. For your application you do not requrie this and will leave this as blank.
 IP Address RETAINYou will enable the DHCP client for this demo. However, you will provide a default IP address so that the demo can be run by connecting the board directly to a PC.
 Network Mask RETAINYou will enable the DHCP client for this demo. However, you will provide a default Network Mask so that the demo can be run by connecting the board directly to a PC.
 Default Gateway RETAINYou will enable DHCP client for this demo. However, you will provide a default Gateway address so that the demo can be run by connecting the board directly to a PC.
 Primary DNS RETAINYou will configure DNS Client for this demo. However, you will provide a static value for this field.
 Secondary DNS RETAINYou will retain this as 0.0.0.0 for None.
 Power Mode RETAINThe two supported power modes are TCPIP_STACK_IF_POWER_FULL and TCPIP_STACK_IF_POWER_DOWN. Use the first one which is selected by default. The power down mode makes the interface powered down.
 Network Configuration Startup Flags   
  DHCP Client Enabled on this InterfaceRETAINSelect the DHCP Client option as the Start-up flag.
  ZeroConf Link Local Enabled on this InterfaceRETAINYou are not using ZeroConf Link local for this demo.
  DHCP Server Enabled on this InterfaceRETAINYou are not enabling this option at start-up
  DNS Client Enabled on this InterfaceRETAINSelect the DNS Client Enabled option as start-up flag.
  DNS Server Enabled on this InterfaceRETAINYou are not using DNS server for this demo.
 Network MAC Driver RETAINThis is the MAC driver that this interface will use
TCP/IP Stack State Machine Tick Rate -ms  RETAINUsed by the Stack State Machine for periodic processing.
Enable User Notification  RETAINDisabled. You do not require User Notifications for this Demo.
Enable Stack De-Initialize Operations  RETAIN. 
 Enable IF Up/Down Operations RETAINThe Interface can be made to be UP or DOWN through the user interface. you will keep this option enabled.
Enable Configuration Save/Restore Functionality  RETAINThis option enables you to save and restore the Network configuration. You will not be using this for this demo, but keep this enabled.
Number of Entries in the Secure Port Table  RETAINIf a port is configured as a secure port and the maximum number of secure MAC addresses is reached, when the MAC address of a workstation attempting to access the port is different from any of the identified secure MAC addresses, a security violation occurs.
Select Heap Configuration    
 Use Heap Config RETAINYou can choose to select between Internal or External heap. You will choose the internal Heap, which will make the stack use the heap allocated for the stack.
 Stack Allocation function, malloc style RETAINThis is the function the stack will call to allocate memory. Use standard C library 'malloc' as a default
 Stack Allocation function, calloc style RETAINThis is the function the stack will call to allocate memory. Use standard C library 'calloc' as a default
 Stack de-Allocation function, free style RETAINThis is the function the stack will call for freeing the allocated memory. Use standard C library 'free' as a default
 Flag Supported for Heap Allocation RETAINYou will choose to allocate the heap from uncached memory for this demo.
 Heap Area Usage RETAINSelect the Default Option.
 Maximum Heap Types RETAINRetain this as 1.
 TCPIP Stack Dynamic RAM Size RETAINThis is the amount of internal dynamic RAM that the TCP/IP stack uses
 TCPIP Stack Dynamic RAM Lower Limit RETAINRetain this as 2048.
 TCPIP Stack Dynamic allocation Debug RETAINRetain this as unchecked, as you will not be debugging the Dynamic allocation of the TCP/IP Stack.
ARP    
 Cache Entried for this Interface RETAINNumber of entries in the cache. Default number of entries per interface. The ARP Cache is a collection of ARP entries (mostly dynamic) that are created when a hostname is resolved to an IP address and then an IP address is resolved to a MAC address
 Delete old cache if still in place RETAINRetain this as checked.
 Time-out for a solved entry to be removed if not referenced in seconds RETAINRetain this as 1200 seconds. If the ARP table entry is not referenced in this time, this entry will be deleted. This is logic for the ARP table cache management.
 Time-out for a pending cache entry to be solved in Seconds RETAINRetain this as 60 Seconds. If a entry is not solved in this time, it is rejected.
 Time-out for sending an ARP request for a pending entry in Seconds RETAINRetain this for 2 seconds. Timeout for resending an ARP request for a pending entry. In order to prevent the ARP flooding the standard recommends it to be greater than 1 sec
 Maximum Percentage of permanent entries allowed in the cache RETAINRetain this as 50. This means that half of the ARP cache table will have permanent entries.
 Purge Threshold Percentage RETAINRetain this as 75. Default purge threshold, percentage. Once the number of resolved entries in the cache gets beyond the threshold some resolved entries will be purged.
 Number of entries to delete once the threshold is reached RETAIN The number of entries to delete once the threshold is reached.
 Number of retries for resolving an entry RETAIN Number of ARP requests generated for resolving an entry.
 Number of retries done for a Gratuitous ARP request RETAINNumber of ARP requests generated when sending a gratuitous ARP probe. Default value should be 1.
 How often to process ARM in ms RETAINARP task processing rate, in seconds
Berkeley API  RETAINDisabled by Default. The Berkeley_Socket_Distribution (BSD) APIs provide a BSD wrapper to the native Microchip TCP/IP Stack APIs. Using this interface, programmers familiar with BSD_sockets can quickly develop applications using Microchip's TCP/IP Stack.
DHCP Client  RETAINEnabled by Default. You need a DHCP Client for this demo to get a IP address from the DHCP Server.
 DHCP request Time-out (seconds) RETAINRetain this value as 10. Defines how long to wait before a DHCP lease is acquired when the DHCP module is enabled, seconds
 DHCP Tick-Rate -ms RETAINThe DHCP task processing rate: number of milliseconds to generate an DHCP tick. Used by the DHCP state machine
 DHCP Client Enabled by default at Stack Startup RETAINEnabled by Default.
 DHCP Hostname maximum size RETAINMaximum size of a host name to be advertised to the DHCP server
 Client port for DHCP client transactions RETAINSet to 68 by default. Retain this value.
 Remote Server Port for DHCP Server Messages RETAINSet to 67 by default. Retain this value.
DHCP Server  RETAINyou do not required DHCP Server in this Demo. So you will retain the un-checked option.
DNS Client  RETAINEnabled by Default. The Domain Name Service associates host names (e.g., www.microchip.com) with IP addresses (e.g., 10.0.54.2). The DNS Client module provides DNS resolution capabilities to the stack. You will enable this for this demo.
 Client-Server Time-out in seconds RETAINWhen the DNS Client connected to the DNS Server this is the elapsed time after which an the communication is considered to have failed if there was no reply from the server, in seconds. Retain this as 60.
 Task Update rate in msec RETAINDNS Client task processing rate, in milliseconds. Retain this as 200.
 Number of DNS Resolver Entries RETAINNumber of DNS resolver entries. Retain this as 5.
 DNS Client Time-outs RETAINDNS client cache entry time-out. If this symbol is zero then the entry time-out will be the one specified by the DNS server when the name was solved
 Maximum Number of IPv4 Answers to be considered RETAINMaximum and default number of IPv4 answers to be considered while processing DNS response from server for a query.
 Maximum Number of IPv6 Answers to be considered RETAINMaximum and default number of IPv6 answers to be considered while processing DNS response from server for a query.
 DNS Conection Type RETAINThis parameter can be used to choose ithe type of IP connection for the DNS client: IPv4 or IPv6. Currently only IPv4 is supported and this parameter is not used. Reserved for future development
 Default TTL Time in secs RETAINDefault TTL time for a solved entry in the cache. This value will be used when the DNS server TTL value for an entry is 0
 Time-out for an unresolved entry in cache RETAINTime-out for an unresolved name, in seconds. The name resolution will be aborted if the TMO elapsed and the name could not be resolved
 Retry Lookup Name after Time-out RETAINRetry lookup for a unresolved entry in the cache, in seconds
 Host Name Length RETAINMax DNS host name size. Retain this as 32.
 Maximum Number fo Interfaces Considered for DNS Resolution RETAINMax number of interfaces to take part in the DNS selection. Retain this as 4.
 Delete Old Entries RETAINChecked by default. Retain this.
 Enable User Notification RETAINUnchecked by default. Retain this.
DNS Server  RETAINDisabled. Not required for this demo.
Dynamic DNS Module  RETAINDisabled. Not required for this demo.
Use FTP module  RETAINDisabled. Not required for this demo.
HTTP Server  CHANGEEnable HTTP Server option. The HTTP server is used to host your web-page, on which the photo slider application is developed.
 Max Header Length RETAINSet to length of longest string. If the header length is longer than this then it is ignored. Set to 15. Retain this.
 Max Lifetime of Static Responses in Seconds RETAINMax lifetime (sec) of static responses as string. Set to 600. Retain this.
 Socket Disconnect Time-out Max Number of Simultaneous Connections RETAINMax time (sec) to await more data before timing out and disconnecting the socket. Set as 45. Retain this.
 Default HTTP File RETAINIndicates what HTTP file to serve when no specific one is requested. Default is "index.htm". If the IP address is typed in the browser, then automatically the server will serve "index.htm" to the browser
 Default HTTPS File RETAINIndicate what HTTPS file to serve when no specific one is requested. Default is "index.htm". If the IP address is typed in the browser, then automatically the server will serve "index.htm" to the browser.
 Max Default File String Length RETAINFor buffer overrun protection. Set to longest length of above two strings. Set to 10. Retain this.
 Enable Update via HTTP RETAINUnchecked by default. Retain this.
 Enable POST Support RETAINChecked by default. Retain this.
 Enable Cookie Support RETAINChecked by default. Retain this.
 Use Base 64 Decode RETAINChecked by default. Retain this.
 Enable Basic Authentication Support RETAINChecked by default. Retain this.
 Require Secure Connection before Requesting a Password RETAINUnchecked by default. Retain this.
 Max Data Length (bytes) for Reading Cookie and GET/POST Arguments RETAINDefine the maximum data length for reading cookie and GET/POST arguments (bytes). Set to 100. Retain this.
 Min NUmber of Buytes Free in TX FIFO Before Executing Callbacks RETAINDefine the minimum number of bytes free in the TX FIFO before executing callbacks. Set to 10. Retain this.
 HTTP Socket TX Buffer Size RETAINDefine the size of the TX buffer for the HTTP socket Use 0 for default.
 HTTP Socket RX Buffer Size RETAINDefine the size of the RX buffer for the HTTP socket Use 0 for default TCP socket value
 HTTP Module Configuration Flags RETAINDefine the HTTP module configuration flags. HTTP_MODULE_FLAG_ADJUST_SKT_FIFOS = 0x01,
 HTTP Task Rate -ms RETAINThe HTTP task rate, ms The default value is 33 milliseconds.
 Include HTTP Custom Template RETAINIncludes "http_print.c", "custom_http_app.c" and "mpfs_img2.c" in project. These files are required to develop a web-based project.
ICMP v4 Client and Server  CHANGEThe Internet Control Message Protocol is used to send error and status messages and requests. The ICMP module implements the Echo Reply message type (commonly referred to as a ping) which can be used to determine if a specified host is reachable across an IP network from a device running the TCP/IP stack. Enable this option.
 Use ICMPv4 Server CHANGEIf this is enabled the PC can issue a ping command to the board's IP address.
 Use ICMPv4 Client CHANGEIf this is enabled the board can issue a ping to the PC's IP address.
  Enable User NotificationRETAINThis is selected if ICMPv4 Client is enabled.
Use NetBIOS Nameserver  RETAINThe NetBIOS Name Service protocol associates host names with IP addresses, similarly to DNS, but on the same IP subnet. This is enabled by default. Retain this.
 NetBIOS Task rate -ms RETAINNBNS task processing rate. Set to 110 ms by default. Retain this.
Use Reboot Server  RETAIN.Disabled by default. Retain this.
Use SMTP  RETAINSimple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (email) transmission. This is disabled by default. Retain this.
Use SNMP  RETAINSimple Network Management Protocol (SNMP) is a popular protocol for network management. It is used for collecting information from, and configuring, network devices, such as servers, printers, hubs, switches, and routers on an Internet Protocol (IP) . Unchecked by default. Retain this.
Use SNTP Client  RETAINThe SNTP module implements the Simple Network Time Protocol. The module (by default) updates its internal time every 10 minutes using a pool of public global time servers. It then calculates reference times on any call to SNTPGetUTCSeconds using the internal Tick timer module. This is disabled by default. Retain this.
Use Telnet Server  RETAINThis allows a TELNET client to have a TELNET connection with the board. You do not require this for this demo. Disabled by Default. Retain this.
Use Link Local ZeroConfig  RETAINZero configuration (Zeroconf), provides a mechanism to ease the configuration of a device on a network. It also provides for a more human-like naming convention, instead of relying on IP addresses alone. This is disabled by default. Retain this.
Use Announce Discovery Tool  RETAINThis module will facilitate device discovery on DHCP enabled networks by broadcasting a UDP message on port 30303 whenever the local IP address changes. This is enabled by default. Disable this.
Use iperf Benchmark Tool  RETAINDisabled by default. Retain this. Not required by this Demo.
Use TCP/IP Commands  CHANGEDisabled by default. Enable This. This enables the TCP/IP commands for the application.
 Enable Storage for Stack Commands RETAINDisabled by default. Retain this.
 Number of ICMP Echo requests RETAINSet to 4 by default. Retain this.
 ICMP Reply Time-out, ms RETAINSet to 1000ms. Retain this.
 ICMP Giveup Time-out, ms RETAINSet to 4000ms. Retain this.
 Enable WiFi Related Commands RETAINDisabled by default. You do not have WiFi in this application so retain this.
Use TFTP Client Module  RETAINNot used in this application. Leave un-checked.
TCPIP FileSystem Wrapper    
 Max Length of Full web path RETAINSet to 80. Retain this.
 Web-Server Mount Path CHANGEChange to "/mnt/myDrive1". This is the mount point where the webserver will look for the web pages.
 Memory Drive RETAINSet to SD card by default. You are using the SD card to hold your web-page and images, Retain this.
 NVM Disk Path RETAINYou are using the SD card, so this selection is not applicable for this application. you can retain default option here. "/dev/nvma1".
 SCARD Disk Path RETAINRetain the default option "/dev/mmcblka1"