Hello ,
I have problems receiving data from ethernet to serial.
Data transmission from serial to ethernet is ok!!!
To achieve this direction of transmission, I use Wiznet´s Config Tools to configure the WIZ108sr in CLIENT MODE. I used Hercules and Hyperterminal to check the communication.
The data transmission from ethernet (hercules) side was unsuccessful but data flows from serial side quite well.
The serial speed is 19200 baud, 8 bites, 1 stop, parity: none, flow control: none.
Configured the WIZ either as CLIENT or as SERVER (tcp mixed) the data always goes from the serial side to the ethernet side.
All our serial to ethernet module just bypass received data from one side to the other side.
If you can send data from serial to the server which is connected to WIZ108SR, TCP connection must be established well.
Under the connection established, WIZ108SR should bypass data from ethernet side to the serial port on it.
There is no option to block data from ethernet side.
Did you check if data from the server (i.e. the peer system which WIZ108SR communicated to) really deliver to the ethernet side of WIZ108SR?
You can see it with wireshark.exe program.
The best way to capture packet which is delivered to the ethernet part of WIZ108SR is to connect WIZ108SR to the server and to run wireshark.exe on the server.
If I tried the reverse direction its works well,no chr problem … so its perfect.(Rs485–>Ethernet–>Remote server)
And if I sent back on this opened connection any answare (remote server–>Ethernet–>Rs485) works well.
The question is … what the difference between the two socket opening procedure.