Other Parts Discussed in Thread: SYSCONFIG, AM2634
Hi,
I'm using mcu_plus_sdk_am263x_10_02_00_13 and the example project enet_cpsw_udpclient_am263x-cc_r5fss0-0_freertos_ti-arm-clang. I changed the CPSW SysConfig setting MAC Address Assignment Method → Manual Entry and entered my MAC list, but after regenerating SysConfig the auto-generated board file still contains EnetBoard_getMacAddrList() which calls EEPROM_read() (I2C) to fetch MAC addresses. I do not want to use EEPROM for MACs — I want the manual MACs from SysConfig to be used.
Steps I tried:
-
Opened SysConfig → ENET (CPSW) module → set MAC Address Assignment Method: Manual Entry and added MACs.
-
Saved .syscfg and regenerated.
-
Rebuilt, but the generated
ti_board_config.cstill contain EEPROM reads (EEPROM_read(gEepromHandle[CONFIG_EEPROM0], ...)) inEnetBoard_getMacAddrList().
Questions:
-
What exact SysConfig setting(s) must I change so generated code DOES NOT call EEPROM? Is there a specific checkbox to disable the EEPROM mapping used for MAC assignment?
-
If SysConfig cannot remove the EEPROM code for this example, what is the recommended way to override the generated
EnetBoard_getMacAddrList()so the ENET stack uses my manual MACs?
Environment:
-
SDK: mcu_plus_sdk_am263x_10_02_00_13
-
Example: enet_cpsw_udpclient_am263x-cc_r5fss0-0_freertos_ti-arm-clang
-
Board: am263x-cc
- Controller: am2634
-
