excuse me, I want to ask.
I’m connecting wiznet w5100 to a microcontroller. here I want every data received from tcp to be displayed to the serial monitor via serial communication. but i have a problem.
- when the first data from tcp comes, for example “hello 1”, and the microcontroller will receive it and then display it to the serial monitor “hello 1” and its works.
- when the next data comes, for example “hello 2” and as usual the microcontroller will receive data and then display it to the serial monitor, but what I get is “hello 1 hello 2”.even though I already deleted the contents of the buffer variable, but not for value of wiznet register.
how every new data comes from tcp, then the microcontroller will get new data only and display the latest data to serial monitor, can i reset the values of the RX_RSR register, without having to reset wiznet or close the connection.