[W5300] W5300에서 UDP(snmp) 전송 시 arp 문제
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] W5300에서 UDP(snmp) 전송 시 arp 문제
by jskim123 ·
원인을 찾았습니다.
subnetMask 설정 소스에 문제가 있었네요.
예전에 받았던 예제소스 인데… 혹시 동일한 문제로 고생하는 분들을 위해
제가 수정한 내용 올려 드립니다.
참고하세요…
<예제 소스>
void ApplySubnet()
{
IINCHIP_WRITE((SUBR),Subnet[0]);
IINCHIP_WRITE((SUBR),Subnet[1]);
IINCHIP_WRITE((SUBR),Subnet[2]);
IINCHIP_WRITE((SUBR),Subnet[3]);
}
<수정 후 >
void ApplySubnet()
{
IINCHIP_WRITE((SUBR0),Subnet[0]);
IINCHIP_WRITE((SUBR1),Subnet[1]);
IINCHIP_WRITE((SUBR2),Subnet[2]);
IINCHIP_WRITE((SUBR3),Subnet[3]);
}
RE: [W5300] W5300에서 UDP(snmp) 전송 시 arp 문제
by Matthew ·
감사합니다. Thank you!