WIZ811MJ (W5100) W5100 send TCP ACK DUP instead of regular TCP segment with data
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: WIZ811MJ (W5100) W5100 send TCP ACK DUP instead of regular TCP segment with data
by Eugeny ·
Duplicate ACK with Len=0 happens when you issue SEND command without modifying (or even touching) TX_WR register. In other words W5100 has nothing to send, and it sends ACK packet containg last Seq ID and data length 0. That’s why Wireshark sees it is duplicate. Check your code to ensure you do not perform SEND without putting data into the TX buffer (unless it is your deliberate action).
RE: WIZ811MJ (W5100) W5100 send TCP ACK DUP instead of regular TCP segment with data
by zbigelpl ·
Thanks a lot for the response. Will check is as soon as possible.
RE: RE: WIZ811MJ (W5100) W5100 send TCP ACK DUP instead of regular TCP segment with data
by zbigelpl ·
I didn’t find any suspected parts at code. It looks like the code handles W5100 according to the W5100 specification. ioLibrary is used to handle W5100 and send() API used to send a TCP segment. Do you have any other suspicious about what could be wrong?
RE: WIZ811MJ (W5100) W5100 send TCP ACK DUP instead of regular TCP segment with data
by Eugeny ·
Then check the code again. Put breakpoints into it (e.g. “press space key to continue”), so that you can see the wireshark in realtime and catch what part of code causes W5100 sending this packet.
It also matters where you take the Wireshark log. If W5100 is not directly connected to this device, and connected through some switch, that switch may inject packets. It is theoretical possibility, which is having low probability though.