Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month ago.
Change MAC Address on NUCLEO-F767ZI
Hello I am making a program using EthernetInterface on NUCLEO-F767ZI. I would like to use multiple NUCLEO on the same network , but the program doesn't work because the MAC address is duplicated.
Do you know the way to change the MAC address?
Question relating to:
2 Answers
7 years, 1 month ago.
Hi,
As said by Daniel the MAC address contains the device UID. And this UID is really unique per device. So it is very strange that you have the same MAC address on multiple device ? Can you share your program ?
7 years, 1 month ago.
From my experience you can try to change MAC address in features/FEATURE_LWIP/lwip_interface/lwip-eth/arch/TARGET_STM/stm32xx_emac.c file. check end of file for mbed_default_mac_address. It uses 3 bytes of standard STM32F7 series ID and 3bytes from processor UID. There are more details in reference manual for STM32F767 processor on official STM site.
Second option is to get EEPROM chip with unique ID.
Let me know if it will help or need any other help. Daniel
Check this question for a possible answer.
https://os.mbed.com/questions/79115/Are-Nucleo-board-MAC-address-unique/
Dave.
posted by David Fletcher 10 Nov 2017