Dear Engineer, I want to know whether TCPIP Stack v5.31 can work well or not. PIC18F97J60 is used in our products. The version of TCPIP stack we are using is v5.10 by 20090729, we want to update the TCPIP stack to the latest version to enhance network performances. The causes we want to do the update is as follows: We have two sorts of DUTs (Design Under Test), one is with 1 RJ45 port, the other is with 2 RJ45 ports, and 2P DUT adds Micrel KSZ8863+KSZ803= 1 to support 2 ports. (1). Experiment 1: 1P DUT will last for 3 days and network performs well without any deadlocks. But as for 2 port DUT, it will runs into deadlock within about 1 day. When it runs into deadlock, PIC18F97J60 will not respond any more when button is pushed except RESET button, which cause= s PIC18F97J60 to reinitialized and work again. The only difference of firmware between 1P and 2P DUT is that KSZ8863 register initialization code is added for 2P DUT. From experiment 1, it can be concluded that the causes of deadlock lies in network. (2). Experiment 2: 15 pieces 2P DUT are powered on for over 5 days with Ethernet cable connected from head to tail, and the end one connected to PC(PC can ping 2P DUT to verify network link), and no one runs into deadlock. But when they are connected to server. They are inevitably run into deadlock, just the period from power on to deadlock is not certain. From experiment 2, it can be concluded the deadlock is mainly due t= o TCPIP STACK, not hardware. All the version after 20090729 are downloaded from www.microchip.com, the v5.31 is tried first in the purchased Developing Board Kit, but the TCPIP Demo App doesn't work, no MAC address is found. However, the version before v5.31 is OK. Version 20100804 and version 20100428 is OK. When the MAC of Developing Board Kit is found, the figure is shown below: The hostname MCHPBOARD is associated with Developing Board Kit directly= , hostname UPUPPY is with our DUT. Working Environment: MAPLAB 8.70; The procedure I use TCPIP stack is as follows: 1). Extract the zip file downloaded, and run Microchip Application Libraries v2010-10-19 Installer.exe, and the libraries are installed into c:\Microchip Solutions v2010-10-19; 2). A directory of e:\work\Test_20101029 is created, and the subdirectory "Microchip" and "TCPIP Demo App" are copied from c:\Microchip Solutions v2010-10-19 to the new created directory. 3). Open MAPLAB 8.70, open Project "TCPIP Demo App - C18 - PICDEMNET2_INTERNAL_ETHERNET.mcp"(Is that right? For older version, "TCPIP Demo App-C18.mcp" is selected). Project -> Build All, compiled without any errors. Here are the build result: Loaded E:\work\Test_20101029\TCPIP Demo App\TCPIP Demo App - C18 - PICDEMNET2_INTERNAL_ETHERNET.cof. ---------------------------------------------------------------------- Release build of project `E:\work\Test_20101029\TCPIP Demo App\TCPIP Demo App - C18 - PICDEMNET2_INTERNAL_ETHERNET.mcp' succeeded. Language tool versions: MPLink.exe v4.39, mcc18.exe v3.35 4). Programmer -> Program, and "TCPStack v5.31" is displayed on the LCD in Developing Board Kit, but the MAC of Developing Board Kit is not found. So two questions arise: Q1: Does TCPIP stack version 5.31 released work well? Q2: Just as experiment 2 says, when 2P DUT is used, does TCPIP stack ca= n handle the network traffic normally? If you have the latest version of TCPIP STACK which is more newer than v5.31, or a reliable v5.31 which can work well, please send it to me via email. The attached file is the working directory of the porting TCPIP Stack, please check to see if there are some differences with your own 5.31 version. Thanks in advance! Best Regards, 20100617 David Zhao --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .