Use TCP/IP Stack | | | CHANGE | Check the checkbox to use the TCP/IP Stack |
| IPv4 | | RETAIN | Enabled by Default. |
| IPv6 | | RETAIN | Disabled 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 | | RETAIN | TCP Maximum Segment Size for TX. This parameter sets a hard limit so that the TX buffers do not overflow |
| Max Local RX Segment Size | | RETAIN | TCP 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 | | RETAIN | Maximum Segment Size for RX (MSS) for non local destination networks. |
| Default TX Size | | RETAIN | Default 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 | | RETAIN | Enable the TCP sockets dynamic set/get functionality |
| Start Time-out -ms | | RETAIN | Timeout to retransmit un-acked data, ms |
| Delayed Ack Time-out -ms | | RETAIN | Timeout for delayed-acknowledgment algorithm, ms |
| Fin Wait 2 Time-out -ms | | RETAIN | Timeout 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 | | RETAIN | Timeout 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 | | RETAIN | Timeout 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 | | RETAIN | Maximum number of retransmission attempts |
| Max Unacked Keep Alives | | RETAIN | Maximum number of keep-alive messages that can be sent without receiving a response before automatically closing the connection |
| Auto Transmit Time-out -ms | | RETAIN | Timeout before automatically transmitting unflushed data, ms. Default value is 40 ms. |
| Window Update Time-out -ms | | RETAIN | Timeout before automatically transmitting a window update due to a TCPIP_TCP_Get() or TCPIP_TCP_ArrayGet() function call, ms. |
| Max Sockets | | RETAIN | The 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 | | RETAIN | The TCP task processing rate: number of milliseconds to generate a TCP tick. This is the tick that advances the TCP state machine. |
Use UDP | | | RETAIN | Enabled 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 | | RETAIN | Maximum number of UDP sockets that can be opened simultaneously. These sockets will be created when the module is initialized. |
| Default TX Buffer Size | | RETAIN | Default 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 | | RETAIN | Enabled 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 | | RETAIN | Enabled by Default. Check incoming packets to have proper checksum. |
| TX Queue Limit | | RETAIN | The maximum number of TX packets that can be queued by an UDP socket at a certain time |
| RX Queue Limit | | RETAIN | The 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 | | RETAIN | Disabled by Default. Enables the build of the pre-allocated pool buffers option |
Number of Network Configurations | | | RETAIN | As you are using only 1 ethernet connection for this demo, you will retain this value as 1. |
Network Configuration 0 | | | | |
| Interface | | CHANGE | You are using the ethernet interface of the PIC, so you will change this option to PIC32INT. |
| Host Name | | RETAIN | Valid 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 | | RETAIN | This 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 | | RETAIN | You 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 | | RETAIN | You 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 | | RETAIN | You 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 | | RETAIN | You will configure DNS Client for this demo. However, you will provide a static value for this field. |
| Secondary DNS | | RETAIN | You will retain this as 0.0.0.0 for None. |
| Power Mode | | RETAIN | The 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 Interface | RETAIN | Select the DHCP Client option as the Start-up flag. |
| | ZeroConf Link Local Enabled on this Interface | RETAIN | You are not using ZeroConf Link local for this demo. |
| | DHCP Server Enabled on this Interface | RETAIN | You are not enabling this option at start-up |
| | DNS Client Enabled on this Interface | RETAIN | Select the DNS Client Enabled option as start-up flag. |
| | DNS Server Enabled on this Interface | RETAIN | You are not using DNS server for this demo. |
| Network MAC Driver | | RETAIN | This is the MAC driver that this interface will use |
TCP/IP Stack State Machine Tick Rate -ms | | | RETAIN | Used by the Stack State Machine for periodic processing. |
Enable User Notification | | | RETAIN | Disabled. You do not require User Notifications for this Demo. |
Enable Stack De-Initialize Operations | | | RETAIN. | |
| Enable IF Up/Down Operations | | RETAIN | The Interface can be made to be UP or DOWN through the user interface. you will keep this option enabled. |
Enable Configuration Save/Restore Functionality | | | RETAIN | This 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 | | | RETAIN | If 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 | | RETAIN | You 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 | | RETAIN | This is the function the stack will call to allocate memory. Use standard C library 'malloc' as a default |
| Stack Allocation function, calloc style | | RETAIN | This is the function the stack will call to allocate memory. Use standard C library 'calloc' as a default |
| Stack de-Allocation function, free style | | RETAIN | This 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 | | RETAIN | You will choose to allocate the heap from uncached memory for this demo. |
| Heap Area Usage | | RETAIN | Select the Default Option. |
| Maximum Heap Types | | RETAIN | Retain this as 1. |
| TCPIP Stack Dynamic RAM Size | | RETAIN | This is the amount of internal dynamic RAM that the TCP/IP stack uses |
| TCPIP Stack Dynamic RAM Lower Limit | | RETAIN | Retain this as 2048. |
| TCPIP Stack Dynamic allocation Debug | | RETAIN | Retain this as unchecked, as you will not be debugging the Dynamic allocation of the TCP/IP Stack. |
ARP | | | | |
| Cache Entried for this Interface | | RETAIN | Number 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 | | RETAIN | Retain this as checked. |
| Time-out for a solved entry to be removed if not referenced in seconds | | RETAIN | Retain 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 | | RETAIN | Retain 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 | | RETAIN | Retain 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 | | RETAIN | Retain this as 50. This means that half of the ARP cache table will have permanent entries. |
| Purge Threshold Percentage | | RETAIN | Retain 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 | | RETAIN | Number of ARP requests generated when sending a gratuitous ARP probe. Default value should be 1. |
| How often to process ARM in ms | | RETAIN | ARP task processing rate, in seconds |
Berkeley API | | | RETAIN | Disabled 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 | | | RETAIN | Enabled by Default. You need a DHCP Client for this demo to get a IP address from the DHCP Server. |
| DHCP request Time-out (seconds) | | RETAIN | Retain 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 | | RETAIN | The 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 | | RETAIN | Enabled by Default. |
| DHCP Hostname maximum size | | RETAIN | Maximum size of a host name to be advertised to the DHCP server |
| Client port for DHCP client transactions | | RETAIN | Set to 68 by default. Retain this value. |
| Remote Server Port for DHCP Server Messages | | RETAIN | Set to 67 by default. Retain this value. |
DHCP Server | | | RETAIN | you do not required DHCP Server in this Demo. So you will retain the un-checked option. |
DNS Client | | | RETAIN | Enabled 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 | | RETAIN | When 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 | | RETAIN | DNS Client task processing rate, in milliseconds. Retain this as 200. |
| Number of DNS Resolver Entries | | RETAIN | Number of DNS resolver entries. Retain this as 5. |
| DNS Client Time-outs | | RETAIN | DNS 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 | | RETAIN | Maximum 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 | | RETAIN | Maximum and default number of IPv6 answers to be considered while processing DNS response from server for a query. |
| DNS Conection Type | | RETAIN | This 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 | | RETAIN | Default 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 | | RETAIN | Time-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 | | RETAIN | Retry lookup for a unresolved entry in the cache, in seconds |
| Host Name Length | | RETAIN | Max DNS host name size. Retain this as 32. |
| Maximum Number fo Interfaces Considered for DNS Resolution | | RETAIN | Max number of interfaces to take part in the DNS selection. Retain this as 4. |
| Delete Old Entries | | RETAIN | Checked by default. Retain this. |
| Enable User Notification | | RETAIN | Unchecked by default. Retain this. |
DNS Server | | | RETAIN | Disabled. Not required for this demo. |
Dynamic DNS Module | | | RETAIN | Disabled. Not required for this demo. |
Use FTP module | | | RETAIN | Disabled. Not required for this demo. |
HTTP Server | | | CHANGE | Enable HTTP Server option. The HTTP server is used to host your web-page, on which the photo slider application is developed. |
| Max Header Length | | RETAIN | Set 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 | | RETAIN | Max lifetime (sec) of static responses as string. Set to 600. Retain this. |
| Socket Disconnect Time-out Max Number of Simultaneous Connections | | RETAIN | Max time (sec) to await more data before timing out and disconnecting the socket. Set as 45. Retain this. |
| Default HTTP File | | RETAIN | Indicates 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 | | RETAIN | Indicate 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 | | RETAIN | For buffer overrun protection. Set to longest length of above two strings. Set to 10. Retain this. |
| Enable Update via HTTP | | RETAIN | Unchecked by default. Retain this. |
| Enable POST Support | | RETAIN | Checked by default. Retain this. |
| Enable Cookie Support | | RETAIN | Checked by default. Retain this. |
| Use Base 64 Decode | | RETAIN | Checked by default. Retain this. |
| Enable Basic Authentication Support | | RETAIN | Checked by default. Retain this. |
| Require Secure Connection before Requesting a Password | | RETAIN | Unchecked by default. Retain this. |
| Max Data Length (bytes) for Reading Cookie and GET/POST Arguments | | RETAIN | Define 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 | | RETAIN | Define the minimum number of bytes free in the TX FIFO before executing callbacks. Set to 10. Retain this. |
| HTTP Socket TX Buffer Size | | RETAIN | Define the size of the TX buffer for the HTTP socket Use 0 for default. |
| HTTP Socket RX Buffer Size | | RETAIN | Define the size of the RX buffer for the HTTP socket Use 0 for default TCP socket value |
| HTTP Module Configuration Flags | | RETAIN | Define the HTTP module configuration flags. HTTP_MODULE_FLAG_ADJUST_SKT_FIFOS = 0x01, |
| HTTP Task Rate -ms | | RETAIN | The HTTP task rate, ms The default value is 33 milliseconds. |
| Include HTTP Custom Template | | RETAIN | Includes "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 | | | CHANGE | The 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 | | CHANGE | If this is enabled the PC can issue a ping command to the board's IP address. |
| Use ICMPv4 Client | | CHANGE | If this is enabled the board can issue a ping to the PC's IP address. |
| | Enable User Notification | RETAIN | This is selected if ICMPv4 Client is enabled. |
Use NetBIOS Nameserver | | | RETAIN | The 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 | | RETAIN | NBNS task processing rate. Set to 110 ms by default. Retain this. |
Use Reboot Server | | | RETAIN. | Disabled by default. Retain this. |
Use SMTP | | | RETAIN | Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (email) transmission. This is disabled by default. Retain this. |
Use SNMP | | | RETAIN | Simple 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 | | | RETAIN | The 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 | | | RETAIN | This 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 | | | RETAIN | Zero 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 | | | RETAIN | This 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 | | | RETAIN | Disabled by default. Retain this. Not required by this Demo. |
Use TCP/IP Commands | | | CHANGE | Disabled by default. Enable This. This enables the TCP/IP commands for the application. |
| Enable Storage for Stack Commands | | RETAIN | Disabled by default. Retain this. |
| Number of ICMP Echo requests | | RETAIN | Set to 4 by default. Retain this. |
| ICMP Reply Time-out, ms | | RETAIN | Set to 1000ms. Retain this. |
| ICMP Giveup Time-out, ms | | RETAIN | Set to 4000ms. Retain this. |
| Enable WiFi Related Commands | | RETAIN | Disabled by default. You do not have WiFi in this application so retain this. |
Use TFTP Client Module | | | RETAIN | Not used in this application. Leave un-checked. |
TCPIP FileSystem Wrapper | | | | |
| Max Length of Full web path | | RETAIN | Set to 80. Retain this. |
| Web-Server Mount Path | | CHANGE | Change to "/mnt/myDrive1". This is the mount point where the webserver will look for the web pages. |
| Memory Drive | | RETAIN | Set to SD card by default. You are using the SD card to hold your web-page and images, Retain this. |
| NVM Disk Path | | RETAIN | You 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 | | RETAIN | Retain the default option "/dev/mmcblka1" |