W7100-S2E mixes messages bytes


#1

Hello,
I am using the W7100-S2E in the transparent mode, TCP client. The microcontroller always send data to the W7100-S2E without knowing if the W7100-S2E is connected or not to the peer TCP server.
If the TCP server is ready before the W7100-S2E is powered up, no problem.
If the TCP server is NOT ready before the W7100-S2E is powered up, after the connection is established, the W7100-S2E mixed the data received on its UART in the the TCP packet.
Exemple: the microcontroller transmits to the W7100-S2E RXD pin :
[color=#0000BF]68 00 1e 77 4d 61 73 74 65 72[/color] [color=#008040]47 61 74 65 77 61 79 20 56 32 32 30 5f 30 31 20 32 30 31 32 31 36 0d 16[/color]
But the packet received on the server side (Wireshark sniffer) is
[color=#008040]47 61 74 65 77 61 79 20 56 32 32 30 5f 30 31 20 32 30 31 32 31 36 0d 16[/color] [color=#0000BF]68 00 1e 77 4d 61 73 74 65 72[/color]
The only way to solve this issue is to reboot the W7100-S2E. The issue is that these products are not in reachable places.
Do you have any solution for this bug?

Best regards
Mich


#2

Hello Mich,

Old version firmware has such a bug which you had but it is fixed in the latest version, 4.06.
You can download it from the below link.

http://www.wiznet.io/product-item/wiz107sr/

You can update W7100A-S2E with the latest firmware via WIZ107/108SR Configuration Tool on the above line as well.

Ver 4.06 firmware operates like below.
In TCP Client mode, all serial data before TCP connection is not stored in Serial RX buffer on W7100A-S2E.
Whereas, in TCP Mixed mode, all serial data before TCP connection is stored until it reaches to the size of Serial RX buffer and following data will be discarded not to make buffer overflow and overwrite previous data.

If you want to keep data from serial before TCP Connection, I recommend you use TCP Mixed mode.
With TCP Client mode, you will loose all data before TCP connection.

Thank you.
BR,

James.