7500 mbed loopback test 문의
General
No replies yet. Be the first to reply.
Join the discussion.
General
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: 7500 mbed loopback test 문의
by justinkim ·
안녕하세요
제 생각으로는 WIZnetInterface를 사용하신게 아니라 EthernetInterface를 사용하여 발생하는 문제 같습니다.
보여주신 창만으로는 어떤 문제인지 알 수 없으므로 어떤 예제를 사용했는지 어떤 함수를 사용했는지 알려주셔야 알 수 있을것 같습니다.
질문하실때 좀더 자세한 정보를 제공해주시면 빠른 해결이 가능합니다.
감사합니다.
RE: 7500 mbed loopback test 문의
by hyp6838 ·
[quote=“justinkim”]안녕하세요
제 생각으로는 WIZnetInterface를 사용하신게 아니라 EthernetInterface를 사용하여 발생하는 문제 같습니다.
보여주신 창만으로는 어떤 문제인지 알 수 없으므로 어떤 예제를 사용했는지 어떤 함수를 사용했는지 알려주셔야 알 수 있을것 같습니다.
질문하실때 좀더 자세한 정보를 제공해주시면 빠른 해결이 가능합니다.
감사합니다.[/quote]
TCPEchoServer-WIZwiki-W7500 예제 코그를 사용중이구요.
WIZnetInterface 안에 EthernetInterface 클래스에 있는 아이피, 맥, 게이트웨이 설정 함수를 사용할 때 발생합니다. (예 : setSIPR)
DHCP 를 사용하지 않고, 직접 연결하려는데
EthernetInterface::init(uint8_t * mac, const char* ip, const char* mask, const char* gateway)
이 함수에서 아이피 주소를 캐릭터로 어떻게 입력해야하는지도 문의드립니다.
RE: 7500 mbed loopback test 문의
by justinkim ·
안녕하세요
dhcp를 사용할 시에는
eth.init(mac_addr);
dhcp를 사용하지 않을 시에는 아래와 같은 코드를 사용하시면 됩니다.
char ip_addr = “192.168.1.111”;
char subnet_mask = “255.255.255.0”;
char gateway_addr = “192.168.1.1”;
eth.init(mac_addr, ip_addr, subnet_mask, gateway_addr);
mbed에서는 위와 같은 방식으로 코딩 하시면 됩니다.
감사합니다.