Thank you! Yes, you are right, 192.192.192.39 is PC's IP, and the other is my board's. I just have a test connecting PC and my board using a wire, so the IP address is temporary. I think it does't infulence the test result.
I use the modbus/TCP port from FreeModbus(http://freemodbus.berlios.de/), just a litte change from its lwip/MCF5235 port, lwip port from FreeRTOSV5.1.1(Unsupported_Demos/STR9_lwIP_1_3_0_GCC_SO) and also the FreeRTOSV5.1.1 RTOS. My board includes a lpc2214 and a enc29j60 b7 net chip from microchip, net driver is changed from u-boot-2008-10 and microchip tcp/ip stack. The file is a zip file of the netif driver, but some comments in the file is written in Chinese not English, I don't know if this can help. I have checked modbus/TCP port and found that it use the raw api, but run in a separate task from the tcpip thread, I don't know if this is right. The netif ethernetif_input is also a separate task. In the lwipopt.h file, I #define LWIP_NETCONN 1 and #define LWIP_RAW 1. Forgive my poor English. Thank you again for your help!
enc28j60drv.rar
Description: Binary data
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
