W5500 클라이언트 모드 관련 문의 드립니다
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: W5500 클라이언트 모드 관련 문의 드립니다
by riosniperx ·
추가로 확인해보니 setSn_CR(sn, CR_CONNECT) 함수를 사용하여 CONNECT 명령을 수행한 후 상태 레
지스터를 읽어 보니 계속 SOCK_INIT(0x13) 에 머물다 타임아웃이 발생하네요 매뉴얼 대로 라면
SOCK_SYNSENT(0x15) 상태로 변경되어야 할 듯 한데 SOCK_INIT 상태로만 유지 되는 듯 합니다.
혹시 지금 같은 문제가 발생하는 조건이 있는지 궁금합니다.
RE: W5500 클라이언트 모드 관련 문의 드립니다
by irina WIZnet ·
안녕하세요,
TCP Client로 동작시, return 값은 Timeout으로만 나는것인지, 다른 에러메시지가 있었는지…
Syn packet의 경우 socket을 open 한상태에서 setSn_CR(sn,Sn_CR_CONNECT)의 경우 나가게 되는 패킷이며, 해당 명령을 줬을 경우에무조건 나가게 됩니다.
해당 명령을 줬음에서 Wireshark에서 보이지 않는다면,
Destination IP가 PC가 아닐경우 보이지 않을 수 있습니다.
TCP Client일때 패킷캡처한 파일(*.pcap)과 connect 하는 부분의 소스를 첨부해주시면 문제해결에 빠를것 같습니다.
감사합니다.
irina