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.

[参考译文] AM2434:为 TI's CPSW 驱动程序提供自定义 MAC 地址

Guru**** 2376610 points
Other Parts Discussed in Thread: SYSCONFIG
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1529761/am2434-providing-custom-mac-address-to-ti-s-cpsw-driver

器件型号:AM2434
主题:SysConfig 中讨论的其他器件

工具/软件:

您好、

在 SysConfig 中、ENET CPSW 驱动程序中有 2 个分配 MAC 地址的选项。

自动--(电子保险丝)或手动(列表)。 遗憾的是、这些都不符合我们的要求。

我想在运行时更改 MAC 地址——它之前将由主应用程序从闪存读取  

请 告知最佳方法。

MCU PLUS SDK 10.1.0.32

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Toby Grabham:

    感谢您的查询。

    我们会查看这些内容、下周再回来。

    此致

    Ashwani

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Toby Grabham:

    我建议启用定制电路板选项并对定制电路板进行必要的更改、以便您可以从代码中消除此依赖关系。 您可以在以下位置找到用于启用定制电路板的文档: https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/latest/exports/docs/api_guide_am64x/enet_migration_guide_top.html#CustomBoardSupport

    然后、您可以在自定义 board_config.c 中的函数“EnetBoard_getMacAddrList"中“中实现 MAC 地址的读取函数、以从闪存中读取 MAC 地址。 如果您需要有关此方面的任何进一步帮助、请联系我们。

    谢谢。此致、
    Teja。