W5200은 언제 Close 상태로 돌아가는지 궁금합니다.?
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은 언제 Close 상태로 돌아가는지 궁금합니다.?
by hjjeon0608 ·
안녕하세요.
아마도 timeout 발생으로 인한 close 일거라 생각 됩니다.
TCP connection이 된 상태에서, 데이터를 보냈는대 ack를 받지 못하는 경우 RTR. RCR 레지스터의 값에 따라 재전송 이후 timeout이 발생하며 close가 됩니다.
또는 ARP 전송 이후 응답을 받지 못하는 경우에서 발생합니다.
RE: W5200은 언제 Close 상태로 돌아가는지 궁금합니다.?
by yiulsup ·
그럼 Close 된 상태에서 W5200 칩의 State는 Listen이나 Close 상태인가요 아니면 Session Establish 상태인가요?
왜나하면 Session은 Establish 상태에 있거든요.
Listen이나 Close 상태가 아닙니다.
PC와 W5200을 연결하면
PC에서는 request to close를 받고 Close 를 했고, W5200은 Session Etablish상태입니다. 이게 가능한 건가요?
감사합니다.
RE: W5200은 언제 Close 상태로 돌아가는지 궁금합니다.?
by hjjeon0608 ·
W5200에서 FIN packet을 전송했다면 PC가 FIN/ACK를 보낼 겁니다.
만약에 보낸다면 이 패킷을 받고 close 상태가 되거나
보내지 않았다면 이 또한 timeout이 발생하여 자동으로 close 상태로 됩니다.
즉, close상태가 되야 정상입니다.
PC쪽에서 W5200에서 보내는 FIN 패킷이 맞는지 확인해보시고,
W5200에서 timeout interrupt가 발생했는지도 확인해보세요.