w5300과DSP간 연결문제
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과DSP간 연결문제
by tgo1800 ·
친절한답변 정말 감사드립니다.
말씀하신대로 진행하니 문자전송까지 잘 되었습니다.
그런데 궁금한게 몇가지 생겨서 질문드립니다.
getSn_SSR()함수의 출력값을 살펴본바 8bit가 넘는숫자가 출력되었습니다. (EX> 255, 275…)
그래서 함수 끝단에 리턴값을 다음과 같이 수정하여 사용하고 있습니다.
return (ssr & 0xff);
IP, Gateway, MAC등을 설정후 메모리 상태를 살펴 보았습니다.
(ping테스트 및 문자전송은 됩니다.)
[0x100005] 0x0008 0xDC11 ==> (mac - 00.08.DC.11.22.86)
[0x100007] 0x2286 0x0000
[0x100009] 0xC0A8 0x0001 ==> (Gateway - 192.168.0.1)
uint32 wiz_write_buf(SOCKET s,uint8* buf,uint32 len)
{
(생략)
for (idx = 0 idx < len; idx+=2) // => for (idx = 0 idx < len; idx++)
(생략)
PC에서 문자를 확인하는데 홀수번지의 데이터만 출력되어서
위 구문처럼 인덱스를 1씩 증가하도록 수정하였더니 잘 나왔습니다.