We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi All,
I'm using the CMSIS network component on STM32F407. To set a right MAC I'm reading it from external I2C EEprom and then I need to change the MAC of the system... Can't find any function to do this, only can see the #defines in the Net_Config_ETH_0.h but, obviously can't use it.
Thanks
Hi
Solved.. thanks M Lurthurd :)
Finally the code looks like this:
extern ETH_CFG eth0_config; GetMACFromEEprom (); memcpy (eth0_config.MacAddr, SystemData.MAC, 6); net_initialize ();
The MAC is changed ok.
Thanks again.