w5100 keepalive 문의
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: w5100 keepalive 문의
by irina WIZnet ·
wireshark tool을 이용하여 해당 패킷을 확인하고 계신건가요?
만약 그렇다면, 동작하는 패킷을 첨부해주시면 확인해보도록하겠습니다.
또한 RTR와 RTR 값을 설정한 부분도 첨부해주세요.
RE: RE: w5100 keepalive 문의
by kss0522 ·
setRTR(2200);
setRCR(8);
셋팅은 초기 INIT 할 때 한번 셋팅 합니다.
void setRTR(uint16 timeout)
{
IINCHIP_WRITE(RTR0,(uint8)((timeout & 0xff00) >> 8));
IINCHIP_WRITE((RTR0 + 1),(uint8)(timeout & 0x00ff));
}
void setRCR(uint8 retry)
{
IINCHIP_WRITE(RCR,retry);
}
RE: w5100 keepalive 문의
by becky ·
안녕하세요
W5100S 문서에서 해당관련 내용을 캡쳐해드립니다.
W5100과 원리는 같습니다.
위의 내용처럼 Retransmission time은 배수로 증가하여 아래와 같이 계산됩니다.
220ms + 220ms*2 + 220ms *4 + 220ms * 8 + 220ms * 16 …
올려주신 와이어 샤크를 보면 초기 재전송 값이 220ms가 아닌 440ms 로 보이는 점이 의문이지만 그이후 값은 위의 내용과 일치하는 것으로 보입니다.