W5200 TCP zeroWindow
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: W5200 TCP zeroWindow
by irinakim ·
안녕하세요…
알고 계시는 내용이지만, 설명드리자면
TCP zero Windows는 buffer의 사이즈만큼 데이터가 쌓여있을경우 발생합니다.
TCP ZeroWindows를 발생하지 않게 하기 위해서는
데이터가 수신되는 즉시, 읽어가시게 하면됩니다.
→ S0_IR의 bit 2 는 수신시 interrupt가 발생하게 됩니다. 이를 이용하여 읽어가시면 됩니다.
만일 제공하는 코드를 변경하지 않고 쓰고자 한다면, buffer size를 2K or 4K로 사용하는 방법도 있습니다.
감사합니다.
EK