W5100S-EVB-Pico DHCP example uses wrong MAC address
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: W5100S-EVB-Pico DHCP example uses wrong MAC address
by Eugeny ·
If I recall library reads address into the structure and writes it back into the chip, thus struct you set may be rewritten before it is used as you want. Therefore before using the chip you must explicitly call routine to set MAC address within the chip, not (only) set it in the structure. Dig into the library to find it out.
RE: RE: W5100S-EVB-Pico DHCP example uses wrong MAC address
by richw42 ·
Yes, I should have investigated before complaining.
I put my code to set the MAC address in g_net_info.mac after the call to wizchip_dhcp_init();
and things seem to be much better.