I am trying to write some code to make my W5100 function as a simple HTML server. I can successfully detect a connection request and receive a GET request from the client. However, when I send an HTML page to the client (which is displayed using Internet Explorer), it appears as though the HTML data is repeating. If I look at the HTML data received by IE, it shows the “real” HTML data that I sent but then I see portions of the “real” data repeated several times causing the display to be garbage.
I checked the starting and ending transmit buffer pointers and verified that the correct number of bytes are copied to the transmit buffer.
It looks like the W5100 is sending more than the expected number of bytes.
Has anyone seen this problem??