W5100 송신 문제
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 송신 문제
by becky ·
SEND 명령을 수행하면 Ping 끊어진다는게 무슨뜻인지 모르겠습니다.
지난번 수신때와 마찬가지로,
Source IP, Port, Destination IP, Port 한번 확인해보시기바랍니다.
수신때 Port가 바뀌는 문제는 해결되셨나요?
port를 계속 새로 write해주는것은 궁극적인 해결방법은 아닌듯합니다.
RE: RE: W5100 송신 문제
by Member 11129 ·
PC에서 핑테스트로 연결확인을 하는데 SEND 이후에 연결이 안되는것으로 나타납니다.
이상한점은 보드에서는 수신은 계속해서 잘 받고 있네요.
Src IP와 Port, Dest IP와 Port는 SEND 이후, 출력하였는데
Des IP : 192.168.0.201 Port : 0x014 Src IP : 192.168.0.200 Port : 0x01e
정상적인 것으로 확인하였습니다.
port를 계속해서 write하는 부분은 포트 값을 3000 → 30, 2000 → 20으로 하여 해결하였습니다.
그리고 SEND 이후에, TX_WR과 TX_RR을 출력해보았습니다.
S0_TX_WR1: 0x1 S0_TX_WR2: 0xc0
S0_TX_RR1: 0x0 S0_TX_RR2: 0x0
S0_CR: 0x0 S0_SR: 0x22 S0_IR: 0x4
RR 값이 갱신이 안되는 것 같은데, SEND 명령 이후에는 TX_WR과 같은 값이 되어야 되는게 정상인거죠?
RE: W5100 송신 문제
by Member 11129 ·
아~ 해결했습니다.
초기화 설정하는 부분을 수정했습니다.
초기설정에 Des IP와 Port를 설정했었는데 그 부분을 주석처리하고
write하는 부분에 설정하는 것으로 하니 송신이 잘되네요.