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.

AM6442: How to set Mac address pool without using EEPROM when using sysconfig and MCU Plus SDK 10.01.00?

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Sir,

     We are trying to develop an ICSSG TAS application base on the example in MCU Plus SDK (example : enet_icssg_tas_am64x-evm_r5fss0-0_freertos_ti-arm-clang). But our customize board does not have EEPROM, so we failed to fill-in all of the MAC address in the pool. We tried to trace in the code, and found the code is coupled together when generated by sysconfig then import into the project. We haven't find a way to fill in the MAC by hardcode or other way. Could you help to tell us how to config the sysconfig or SDK to make the ICSSG TAS example can be run on a board without the EEPROM with MAC address inside?

     Thank you!

  • Hi Brian,

    You can do that through the SYSCONFIG-GUI tool.

    After you open the Sysconfig gor this example, navigate to Enet(ICSS)> System integration config> MAC address Assignment method, and set it to manual entry. This way, you can populate the MAC address pool with hard-coded values. This will also skip trying to read from EEPROM. The MAC address populated in EFUSE will not be read and populated in the pool with Manual Entry option.

    Please let me know if you need any further assistance.

    Best Regards,
    Teja.

  • I tried to change this, but still meet some fault said: use undeclared identifier 'CONFIG_EEPROM0' in ti_board_config.c file.

  • Hi Brian,

    I suggest to enable custom board option, and enable the necessary changes for the custom board, so that you can remove this dependency from the code. You can find the documentation to enable the custom board can be found here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/latest/exports/docs/api_guide_am64x/enet_migration_guide_top.html#CustomBoardSupport

    Once you enable this, you can safely remove any and all dependencies from the custom board_config.c file which is now created by you. Ideally, the EEPROM module references will only be used in "EnetBoard_getMacAddrList" function. That function will not be used when the MAC address mode is set to manual entry.

    Thanks and regards,
    Teja.