[W5300]전송속도 문의입니다.
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: [W5300]전송속도 문의입니다.
by KIM ·
답변 감사합니다.
루프문은 아래와 같습니다.
다시 확인한 결과 f_write항목을 제거하면 전송속도는 대략 10MB/정도 나옵니다.
f_write실행시간은 2ms정도 되는데 5초마다 f_write가 연속으로 7회정도 실행되고 나머지시간(5초-14ms)에는 len이 0인 상태입니다.
Wreshark로 캡쳐한 패킷을 첨부하였으니 보시고 회신부탁드립니다.
RE: [W5300]전송속도 문의입니다.
by KIM ·
감사합니다.
강제전송 코드를 넣으니 증상이 개선됩니다.
그런데 한가지 문제가 더 발견되었습니다.
수신시 마다 len의 크기를 계속 더해보니 ftp로 보낸 파일의 크기보다 2가 큰 현상이 발견되었습니다.
받은 파일을 hex편집기로 열어보니 파일의 마지막에 임의의 2byte가 추가 되어 있습니다. 이부분도 확인 부탁드립니다.
파일의 크기에 관계없이 항상 +2입니다.
강제전송코드를 제거해도 같은 현상입니다.
RE: [W5300]전송속도 문의입니다.
by KIM ·
recv함수의 리턴값을 받으니 증상이 없어지네요.
답변 감사합니다.
그럼 수고하십시오