W5200 app to W3150a+ 시 에러
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: W5200 app to W3150a+ 시 에러
by hjjeon0608 ·
구글링 해보니
CMSIS관련하여 충돌이 일어 나는 것 같습니다.
firepooh.tistory.com/entry/EWARM … 0%EB%9F%AC
bgsys.co.kr/?p=2412
위 내용을 참조하시어 좀더 구글링 하면 해결 가능할 것 같습니다.
RE: W5200 app to W3150a+ 시 에러
by NohYoungsoo ·
감사합니다.
다른 Waring이 있어 문의합니다.
void write_data(SOCKET s, vuint8 * src, vuint8 * dst, uint16 len) 함수에서
w5200에선
dst_mask = (uint32)dst & getIINCHIP_TxMASK(s);
W3150에선
dst_mask = (uint16)dst & getIINCHIP_TxMASK(s);
인데 W3150a+ 로 적용 컴파일 하면
Warning[Pe767]: conversion from pointer to smaller integer
가 나오는데 그대로 사용해도 이상이 없는지요?
RE: W5200 app to W3150a+ 시 에러
by NohYoungsoo ·
상기 Warning[Pe767]: conversion from pointer to smaller intege
는 다음과 같이 변경 해결했습니다.
참조하시기 바랍니다.
dst_mask = (uint16)dst & getIINCHIP_TxMASK(s);
To
dst_mask = (uint16)(unsigned)dst & getIINCHIP_TxMASK(s);