링크 off 상태로 전원 on 후 나중에 링크 on 시 에러
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: 링크 off 상태로 전원 on 후 나중에 링크 on 시 에러
by justinkim ·
안녕하세요
phy link 연결이 되기전에 이미 DHCP discover 패킷이 나간것이 아닌가 의심이 됩니다…
dhcp 패킷 나가기전에 delay를 어느정도 주고 해보시기 바랍니다.
RE: 링크 off 상태로 전원 on 후 나중에 링크 on 시 에러
by Edward ·
안녕하세요.
일단 LAN 케이블을 연결하면, Peer와 peer사이에는 PHY를 이용하여 연결하게 됩니다.
따라서, renet부분에 PHY가 연결되면 initialize를 할 수 있게 동작하시면 될 것 같습니다.
소켓은 문제가 안되고 ioLibrary 코드를 살펴보시면 PHY initial 과정의 코드가 있습니다.
그 부분을 추가하셔서 테스트 해보세요…
감사합니다.
RE: 링크 off 상태로 전원 on 후 나중에 링크 on 시 에러
by dctelec ·
답변 감사합니다.
소켓은 문제가 안되고 ioLibrary 코드를 살펴보시면 PHY initial 과정의 코드가 있습니다.
그 부분을 추가하셔서 테스트 해보세요…
혹시 말씀하신 위 PHY initial 코드가 어느 부분에 있는지 위치 좀 알려주세요.
감사합니다.
RE: 링크 off 상태로 전원 on 후 나중에 링크 on 시 에러
by Edward ·
안녕하세요.
아래 링크를 참조해주세요.
github.com/Wiznet/WIZ550web/blo … iHandler.c
위 링크는 WIZ550web(W5500)에 사용된 코드입니다.
위 코드 중에서 void W5500_Init(void) 부분을 살펴보시면, 각각의 chip의 initial 과정을 나타냅니다.
여기서 아래 2개의 함수로 실제 칩과의 통신이 이루어 지게 됩니다.
그리고 그 아래 코드를 이용해서 메모리 사이즈를 결정하게 됩니다.
위 부분을 이용하여 initial 과정을 거치게 되므로 위 부분을 살펴보시면 될 것 같습니다.
감사합니다.