主题中讨论的其他器件:DP83826E
工具与软件:
您好!
我 在 SDK 中根据 enet_l2_multi_channel_am243x-evm_r5fss0-0_freertos_ti-arm-clang 编译工程。
PHY 在演示中使用的是83826而不是83869。
问题是、
1.在演示项目中,只有83822而不是83826的配置。 我在 gEnetPhyDrvs 中添加了83822、我不确定它是否正常。
2.对于 gEnetCpbBoard_am243x_EVM_EthPort、我不知道83826的扩展配置、因此我把它留空。
3.我在 mcu_sdk 中搜索时、出现了 名为 ethphy_dp83826e.c 和 ethphy_dp83826e.h 的文件 我想知道这些文件是否有演示、因为我只需连接到芯片。
导入设置
修改后的 enet_custom_board_config.c
e2e.ti.com/.../enet_5F00_custom_5F00_board_5F00_config.c
系统配置
e2e.ti.com/.../8154.example.zip
来进行 ENET 配置

日志如下所示。
==========================
L2 Multi-channel Test
==========================
Init all peripheral clocks
----------------------------------------------
Enabling clocks!
Create RX tasks
----------------------------------------------
cpsw-3g: Create RX task
Open all peripherals
----------------------------------------------
cpsw-3g: Open enet
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2
Init all configs
----------------------------------------------
cpsw-3g: init config
cpsw-3g: Open port 2
Mdio_normal_ioctl_handler_ENET_MDIO_IOCTL_C22_READ: failed to read PHY 3 C22 reg 1: -1
EnetMod_ioctl: cpsw3g.mdio: Failed to do IOCTL cmd 0x01000605: -1
EnetPhyMdioDflt_readC22: PHY 3: Failed to read C22 reg: -1
EnetPhy_readReg: PHY 3: Failed to read reg 1: -1
PHY 7 is alive
EnetMod_ioctl: cpsw3G.macport1: Module is not open
Cpsw_registerIoctlHandler: Failed to register IOCTL handler: -1, 1000502, 700A8A91
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000110: -1
Enet_ioctl: cpsw3g: IOCTL 0x01000110 failed: -1
Failed to set dscp Priority map for Port 1 - -1
Attach core id 1 on all peripherals
----------------------------------------------
cpsw-3g: Attach core
EnetMod_ioctl: cpsw3G.macport1: Module is not open
Cpsw_registerIoctlHandler: Failed to register IOCTL handler: -1, 1010501, 700A89B1
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000110: -1
Enet_ioctl: cpsw3g: IOCTL 0x01000110 failed: -1
Assertion @ Line: 280 in ../multi_channel_cfg.c: status == ENET_SOK : failed !!!
