W5200 client Mode 에서의 재전송관련 문의
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 client Mode 에서의 재전송관련 문의
by justinkim ·
안녕하세요 위즈네트 김현준 연구원입니다.
먼저 와이어샤크로 패킷캡쳐하여 윈도우 풀상태인지 아닌지 확인 부탁드립니다.
그리고 풀 상태가 아님에도 불구하고 패킷을 1byte씩만 보낸다면
github.com/Wiznet/ioLibrary_Driver
위 사이트로 접속하셔서 ioLibrary를 다운받아 포팅 후 사용해 보시기 바랍니다.
사용하신 firmware 드라이버와 loopback 코드보다 많이 업데이트 된 버전입니다.
해당 Library로 포팅하신후 사용해보시면 정상동작을 확인하실 수 있으실 겁니다.
참고로 말씀드리자면 1.3버전은 최신버전이 아니라 1.7버전이 최신 펌웨어입니다
wiznet.co.kr/product-item/w5200/ (여기서 받아보실 수 있습니다.)
하지만 1.7 펌웨어도 예전 버전이기 때문에 ioLibrary를 포팅하시는게 가장 좋은 방법입니다.
RE: W5200 client Mode 에서의 재전송관련 문의
by gman777 ·
안녕하세요
Version 1.7로 Driver를 바꾸어 시험해도 조금 지나면 더이상 send가 되지 않습니다.
wireshark로 잡아 보면
2576 67.705613 192.168.0.3 192.168.0.70 TCP 54 5062→5062 [ACK] Seq=23 Ack=1050 Win=63193 Len=0
2584 67.741844 175.212.206.47 192.168.0.3 TCP 66 60536→5062 [ACK] Seq=62 Ack=3589 Win=25344 Len=0 TSval=49306265 TSecr=70550289
2604 68.171269 192.168.0.70 192.168.0.3 TCP 69 5062→5062 [PSH, ACK] Seq=1050 Ack=23 Win=2048 Len=15
2605 68.171491 192.168.0.3 175.212.206.47 TCP 81 5062→60536 [PSH, ACK] Seq=3589 Ack=62 Win=66304 Len=15 TSval=70550341 TSecr=49306265
2606 68.221234 192.168.0.3 192.168.0.70 TCP 54 5062→5062 [ACK] Seq=23 Ack=1065 Win=63178 Len=0
2607 68.255223 175.212.206.47 192.168.0.3 TCP 66 60536→5062 [ACK] Seq=62 Ack=3604 Win=25344 Len=0 TSval=49306316 TSecr=70550341
192.168.0.70 이 w5200 쪽 Board입니다.
192.168.0.3이 Server 쪽입니다.
172.212.206.47 은 스마트폰 쪽입니다.
첨부한 ip_send_error_capture.exe 는 확장자를 pcapng 로 바꾸면 wireshark로 열어 볼수 있습니다.
약 500ms 단위로 15 packet 을 주기적으로 전송하다가 약4~5분 지나면 Send한 Packet이 0 byte가 됩니다.
한번 봐 주십시요.
ip_send_error_capture.txt (1.96 MB)