I want to connect my embedded board ( having ethernet module812MJ ) to my PC which is in the same network .
I am not able to establish a link between PC amd ethernet board.
I did the following initialisation :
PC side : ip_addr = 192.168.1.250
gtw_Addr = 192.168.1.1
mac_addr = 00.30.67.BB.A9.28
subnet mask = 255.255.255.0
ETHERNET BOARD SIDE : ip_addr = 192.168.1.252 ( provided by my n/w admin.)
gtw_addr = same as above
mac = 10.11.12.13.14.15 ( I entered my own addr )
subnet mask = same as above
- first of all , I gave 8KB Tx and Rx memory to my socket S0.
- Configured socket 0 (S0) in " TCP WITH NO DELAYED ACKNOWLEDGMENT" mode . provided 502 as socket no. ( for the purpose of modbus communication over TCP/IP) to my socket 0 (S0 ).
- Gave “socket_open” command .
- Then by checking the SOCKET_INIT flag I configured socket 0(S0) in LISTEN mode.
After going through the above steps , I generated the TCP packet(with SYNC flag) using OSTINATO and monitored using WIRESHARK . But , i am not getting any reply from WIZNET module , nor i am able to see any kind of 3 way handshaking in flow graph .
So please help me out to solve the problem . Am i missing any initialisation of my module or there is some problem with my module itself .!!