hello,
I am using W5500 as TCP server.
For transmitting data from server I carry out the following steps
- Read the Sn_TX_RD.
- Using the values of Sn_TX_RD, I write 6 bytes of data to the TX_buffer.
3.Then i update the value of Sn_TX_WR by adding 6 to it. - Then I issue the SEND command.
5.And repeat again from the 1st step.
However I find that the data transmitted is mostly corrupt.
And if i write just 2 bytes in the Tx_Buffer and send, the data is corrupted but rarely. But this would decrease my efficiency.
Is there any solution for this ?