Among the other things in the .ZIP file you received should be the following important items:
emblibs/embtcp.lib -- This is the library compiled for "NON-DEBUG"emblibs/embtcp-debug.lib -- This is the library compiled for "DEBUG"tcp_examples/example1 -- This directory contains a very basic, "yes, something is working" programemb_h -- This directory contains include files required to use the embTCP library.embDocs/embTCP-Reference.htm -- This is the primary reference manual for embTCPembDocs/embTCP-FAQ.htm -- Frequently Asked Questions, including a link for a possibly updated version of the FAQFreeRTOS -- This is the source code for the FreeRTOS™ Operating SystemBy far the easiest way to ensure that your new libraries are working is to add them to a very simple project that you already know works and the behavior of which is well known. Please prepare a very small program, verify that it compiles, downloads, and runs on your development target.
embsrc directory: Add every fileFreeRTOS directory: Add every source code fileFreeRTOS/Source/portable/RVDS/ARM_CM3 directory: Add every source code fileFreeRTOS/Source/portable/MemMang directory: add the management scheme most appropriate for your environment. (Note: During development of embTCP, the file heap_3.c was most heavily tested of the three methods provided with FreeRTOS.)embtcp-debug.lib to the projectFreeRTOS/Source/includeFreeRTOS/Source/portable/ARM_CM3emb_hexamples/tcp_examples/example1/example1.c to the project as discussed above.get_mac_address() routine in tcpdata.c to correctly obtain the MAC address for your board. For debugging purposes, you could temporarily set the "local_mac[6]" array elements 1, 2, 3, 4 and 5 to random values that are unique to your network.svraddrstr parameter from 0.0.0.0 to the IP address of a TCP echo server. If you do not have an available TCP echo server, feel free to ignore the error messages that appear on "stdout".embsrc/inmain.c and remove the comments surrounding the call to example_init().Find the embTCP User's Guide and start to read, making special note of the chapter entitled "Example1 Walkthrough".