W5100ev01-avr TCP 서버 모드 문의
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: W5100ev01-avr TCP 서버 모드 문의
by mylovesky723 ·
사진이나 그림을 올리는 방법을 모르겠네요 …
URL 클릭하시면 블로그 연동됩니다. 사진 참조 부탁드리고 답변 부탁드릴게요
RE: W5100ev01-avr TCP 서버 모드 문의
by hjjeon0608 ·
안녕하세요 고객님.
제가 테스트 해본 결과 이상없이 데이터 출력이 됩니다.
루프백 테스트는 단순히 받은 데이터를 그대로 송신하는 것이기 때문에 이전 데이터가 이후 데이터를 덮어 쓰거나 하는 동작을 하지 않습니다.
그래서 아마도 기존 코드를 수정하지 않았다면 입력받은 데이터를 출력하는 방식에서 잘못된 것이 아닐까 생각합니다.
저는 단순히 loopback_tcps 함수에서
안의 if ((len = getSn_RX_RSR(ch)) > 0) 안에 아래와 같이 추가 하였더니 정상적으로 출력이 되었습니다.
for(i=0;i<len;i++){ printf("%c ", data_buf[i]); }감사합니다.
RE: W5100ev01-avr TCP 서버 모드 문의
by mylovesky723 ·
W5100에 전송 되는 데이터 형태가 바이너리 형태인가요? 아니면 아스키 형태인가요…
RE: W5100ev01-avr TCP 서버 모드 문의
by hjjeon0608 ·
안녕하세요 고객님.
W5100은 TX memory 로 쓴 데이터를 그대로 전송합니다.
다만 AX1 프로그램은 루프백 테스트 결과 아스키 코드로 데이터를 전송 하는 걸로 나왔습니다.
감사합니다.