AN 957: Time-Sensitive Networking for Drive-on-Chip Design Example

ID 683707
Date 10/30/2021
Public
Document Table of Contents

3.11. Changing MAC Addresses

The TTTech TSN IP works with MAC addresses for the network interfaces. For the Cyclone V SoC Development Board, the EEPROM configuration stores these addresses. When the complete systems boots, it takes the addresses from this EEPROM and assigns them to different interfaces as described in the ttt-ip-init.sh file.
  1. Type the i2c command after the Cyclone V SoC Development board boots. For example:
    >> i2cset -y 0 0x51 0 56 0xac i
  2. Check your changes by typing the following command:
    >> i2cset -y 0 0x51 0 56 i
    >> i2cget -y 0 0x51
When your change the MAC addresses in the EEPROM, they remain after switching off the Development board. Intel recommends you reboot the Development board and use a fresh SD card image as some of the previously undesired addresses might copy into the system configuration.