请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:PROCESSOR-SDK-AM64X 您好!
这是 MCUSDK 8.5的已知问题。 计划在即将发布的版本中修复。
注意 :我在这里讨论的只是一个变通办法,而不是一个干净的修复。
要检查的步骤 :
- 请参阅 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1097991/sk-am64-ethernet-access-from-freertos/4081226#4081226 、并确保您具有 AM64x-SK 板中 CPSW 所需的与引脚多路复用相关的更改。
如果您有本地编译设置、请执行以下步骤。
- 打开文件:mcu_plus_sdk_am64x_08_05_00_24\source\networking\.meta\enet_cpsw\templates\am64x_am243x\enet_soc_cfg.c.xdt
/*!
* \brief CPSW3G default configuration
*
* Note: If user wishes to change the Resource Partition the following
* things must be considered:
* 1. Sum of numTxCh allocated to each core should not exceed 8.
* 2. Sum of numRxFlows allocated to each core should not exceed 7 (not 8),
* as one Rx flow is reserved to the master core.
*
*/
static EnetRm_ResPrms gEnetAppRmDefCfg_3G =
{
.coreDmaResInfo =
{
[0] =
{
.coreId = `module.getCpuID()`,
.numTxCh = ENET_SYSCFG_TX_CHANNELS_NUM, /* numTxCh */
.numRxFlows = (ENET_SYSCFG_RX_FLOWS_NUM + 1), /* numRxFlows. Need one additional flow for reserved flow */
.numMacAddress = 3U, /* numMacAddress */
},
},
.numCores = 1U,
};
- 更改 .numMacAddress = 3u、 /* numMacAddress */
- 默认情况下、该值应为4
- 打开命令提示符
- CD C:\ti\mcu_plus_sdk_am64x_08_05_00_24
- gmake -s -C examples/networking/enet_layer2_cpsw/am64x-sk/r5fss0-0_freertos/ti-arm-clang clean
- gmake -s -C examples/networking/enet_layer2_cpsw/am64x-sk/r5fss0-0_freertos/ti-arm-clang all
- 生成的.out 可在中找到
- C:\ti\mcu_plus_sdk_am64x_08_05_00_24\examples\networking\enet_layer2_cpsw\am64x-sk\r5fss0-0_freertos\ti-arm-clang
- 文件名将为 enet_l2_cpsw.release.out
- 尝试使用 CCS 加载该文件
此致
Ashwani