Hello Sir ,
I am trying to place my embedded board which has WIZ812MJ as a ethernet module and acts as a server in a LAN .
For this i have configured all its 4 sockets in listen mode with PORT no 502 for modbus communication , so that it can accept the request from any PC in the LAN and serve it .
Here i am able to connect all the 4 users , accept there request and communicate with them smoothly but, suddenly while communicating with them initially one of the socket stops replying and gets hanged due to this other 3 sockets also gets hanged . During this i am not getting any DISCONNECT/TIMEOUT interrupt so i am unable to find the problem .
From my side i have checked all the flags in IR and Sn_IR are also getting cleared and at this time interrupt line of module is also at HIGH logic level which means no interrupt is pending . So i just wonder what i am missing to take care of , or is there some problem with the module itself . So , please help me out to sort this problem .
Module configuration :
ip_addr = 192.168.1.252
gtw_addr = 192.168.1.1
mac_addr = 10.11.12.13.14.15
subnet = 255.255.255.0
Retry time = 200ms(default)
retry count = 1
port no of all sockets are set to 502 .
all the mask has been enabled .
waiting for reply ,