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, Simple Main Transfer Protocol (SMTP), and many other protocol standards.
 Max TX Segment SIze RETAINTCP Maximum Segment Size (MSS) for TX. This parameter sets a hard limit so that the TX buffers do not overflow.
 Max Local RX Segment Size RETAINTCP MSS for RX. This value is advertised during TCP connection establishment and the remote node should obey it.
 Max Non-Local RX Segment Size RETAINMSS for RX 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 Timeout -ms RETAINTimeout to retransmit un-acked data, milliseconds (ms).
 Delayed Ack Timeout -ms RETAINTimeout for delayed-acknowledgment algorithm, ms.
 Fin Wait 2 Timeout -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 Timeout -ms RETAINTimeout for keep-alive messages when no traffic is sent, ms. When two hosts are connected over a network via TCP/IP, TCP Keep-alive Packets can be used to determine if the connection is still valid, and terminate it if needed.
 Close Wait Timeout -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 Un-acked Keep-Alives RETAINMaximum number of keep-alive messages that can be sent without receiving a response before automatically closing the connection.
 Auto Transmit Timeout -ms RETAINTimeout before automatically transmitting unflushed data, ms. Default value is 40 ms.
 Window Update Timeout -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 ms to generate a TCP tick. This is the tick that advances the TCP state machine.
Use User Datagram Protocol (UDP)  RETAINEnabled by default. UDP provides fast but unreliable datagrams based transfers over networks, and forms the foundation Simple Network Time Protcol (SNTP), Simple Network Management Protocol (SNMP), Domain Name System (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. Enable the build of the pre-allocated pool buffers option
Number of Network Configurations  RETAINAs you are using only one ethernet connection for this demo, you will retain this value to be one.
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 require this and will leave this as blank.
 IP Address RETAINYou will enable Dynamic Host Configuration Protocol (DHCP) client for this demo. But 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 DHCP client for this demo. But 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. But 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. But 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 power down.
 Network Configuration Startup Flags   
  DHCP Client Enabled on this InterfaceRETAINSelect the DHCP Client option as the Startup 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 Startup 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 the user 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 one.
 TCP/IP Stack Dynamic RAM Size CHANGEYou will increate the Dynamic RAM size to 42000. This is the amount of internal dynamic RAM that the TCP/IP stack uses.
 TCP/IP Stack Dynamic RAM Lower Limit RETAINRetain this as 2048.
 TCP/IP 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 Address Resolution Protocol (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.
 Timeout 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.
 Timeout 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.
 Timeout for sending an ARP request for a pending entry in seconds RETAINRetain this for two 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 one second.
 Maximum Percentage of permanent entries allowed in the cache RETAINRetain this as 50. So 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 RETAINThe number of entries to delete, once the threshold is reached.
 Number of retries for resolving an entry RETAINNumber 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 one.
 How often to process ARM in ms RETAINARP task processing rate, in seconds.
Berkeley Application Programming Interface (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 out demo, to get a IP address from the DHCP server.
 DHCP request Timeout (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 ms to generate an DHCP tick. Used by the DHCP state machine.
 DHCP Client Enabled by default at Stack Startup RETAINEnabled by default.
 DHCP Host name 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 unchecked option.
DNS Client  RETAINEnabled by default. The DNS associates host names (i.e., www.microchip.com) with IP addresses (i.e., 10.0.54.2). The DNS Client module provides DNS resolution capabilities to the stack. You will enable this for this demo.
 Client-Server Timeout 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 timed failed if there was no reply from the server In seconds. Retain this as 60.
 Task Update Rate in ms RETAINDNS Client task processing rate, in ms. Retain this as 200.
 Number of DNS Resolver Entries RETAINNumber of DNS resolver entries. Retain this as five.
 DNS Client Timeouts RETAINDNS client cache entry timeout. If this symbol is zero then the entry timeout 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 Connection Type RETAINThis parameter can be used to choose the 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 Transitor-Transitor Logic (TTL) Time in seconds 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 zero.
 Timeout for an unresolved entry in cache RETAINTimeout for the a unsolved name, in seconds. The name resolution will be aborted if the Transmit Message Object (TMO) elapsed and the name could not be solved.
 Retry Lookup Name after Timeout RETAINRetry lookup for a unsolved 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 four.
 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 File Transfer Protocol (FTP) module  RETAINDisabled. Not required for this demo.
HTTP Server  CHANGEEnable HTTP Server option. The HTTP server is used to host your webpage, 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 TimeoutMax 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 RETAINIndicate what HTTP file to serve when no specific one is requested. Default is index.htm. If the IP address is typed on the browser, then automatically the server will serve the 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 on the browser, then automatically the server will serve the 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 Bytes Free in TX First In, First Out (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 zero for default.
 HTTP Socket RX Buffer Size RETAINDefine the size of the RX buffer for the HTTP socket. Use zero 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 ms.
 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 (ICMP) 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  RETAINDisabled by default. Retain this.
Use SMTP  RETAINSMTP is an Internet standard for electronic mail (email) transmission. This is disabled by default. Retain this.
Use SNMP  RETAINSNMP 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 IP. Unchecked by default. Retain this.
Use SNTP Client  RETAINThe SNTP module implements the SNTP. 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  CHANGEThis 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 not required by the demo. 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 four by default. Retain this.
 ICMP Reply Timeout, ms RETAINSet to 1000 ms. Retain this.
 ICMP Giveup Timeout, ms RETAINSet to 4000 ms. Retain this.
 Enable Wi Fi® Related Commands RETAINDisabled by default. You do not have Wi Fi in this application so retain this.
Use Trivial File Transfer Protocol (TFTP) Client Module  RETAINNot used in this application. Leave unchecked.
TCP/IP FileSystem Wrapper    
 Max Length of Full web path RETAINSet to 80. Retain this.
 Webserver 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 webpage and images, retain this.
 Non-Volatile Memory (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".
 SD Card Disk Path RETAINRetain the default option "/dev/mmcblka1".