This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2431: Assign CPSW mac address

Part Number: AM2431
Other Parts Discussed in Thread: SYSCONFIG

Hi all TI experts,

I am currently using the AM2431 chip, and I have modified the example project of enet_l2_cpsw to adapt it to my application. Since I communicate with an external switch IC through RGMII, I have enabled "External Phy Management Enable." The above is my current setting.

Firstly, I have noticed that my MAC address is consistently 0x28 0xB5 0xE8 0xDC 0xC2 0x6D. I want to change it to the content required by our application, which means altering my MAC address to the content set for our product. However, even after changing the function EnetBoard_getMacAddrList() in custom_board_config.c to modify the MAC address read from EEPROM to what I desire, the MAC address remains unchanged after completing CPSW initialization. Is there any other place that needs to be modified?

Secondly, our application will dynamically change the MAC address, meaning that after the CPSW initialization is complete, it will need to change the MAC address when receiving a specific command. Is this feasible? If so, what are the detailed steps to achieve this?

I hope these two questions can be clarified. Thank you!

Best,

Larry