Go Down

Topic: reading back wiznet's mac address (Read 101 times) previous topic - next topic

guy_c

Hello,

I need for sanity check to read back the mac loaded to the wiznet 5100, can someone help please?
same question for the 5500?

Thanks for your help


guy_c

thanks,
mac on 8 bite?
I dont understand how to use it
sorry

PieterP

#3
Jan 23, 2019, 06:40 pm Last Edit: Jan 23, 2019, 06:40 pm by PieterP
Code: [Select]
uint8_t mac[6];
W5100.getMACAddress(mac);

guy_c

PieterP, very much appreciated! I think that your reply is the first given to a question often asked

Now I am finding that with this specific shield when the read back mac is corrupted it will remain so until I press the reset button on the shield but I am unsure if it got fixed due to the reset or to some bad pin contact that somewhat improves by the mechanical pressure on the button and my intuition goes in favor of this lat hypothesis.


guy_c

MAC returned corrupted again.
This time I pressed with my nail the metal cage housing the reset button: next reboot wiznet was initialized OK!

Go Up