主题中讨论的其他器件: DP83869、 DP83826E、 SysConfig
尊敬的专家:
我正在调试选择芯片 AM2432和 DP83822 PHY 的电路板。
正在使用的 EIP 堆栈是 ind_comms_sdk_am243x_09_00_00_03、我没有大幅更改 PHY 驱动程序代码。
这是 UART 日志:
[MCSPI] Loopback example started 3 Pruicss max =3 selected PRU:3 The data is corrupted, write default values. Did Map 0x30080000 len 0x2000 to 0x30080000 (dram0) Did Map 0x30082000 len 0x2000 to 0x30082000 (dram1) Did Map 0x300b4000 len 0x4000 to 0x300b4000 (iram0) Did Map 0x300b8000 len 0x4000 to 0x300b8000 (iram1) Did Map 0x30090000 len 0x10000 to 0x30090000 (shdram) Did Map 0x300a2000 len 0x400 to 0x300a2000 (control0) Did Map 0x300a4000 len 0x400 to 0x300a4000 (control1) Did Map 0x300a0000 len 0x2000 to 0x300a0000 (intc) Did Map 0x300a6000 len 0x2000 to 0x300a6000 (cfg) Did Map 0x300a8000 len 0x2000 to 0x300a8000 (uart0) Did Map 0x300ae000 len 0x2000 to 0x300ae000 (iep) Did Map 0x300b0000 len 0x2000 to 0x300b0000 (ecap0) Did Map 0x300b2000 len 0x400 to 0x300b2000 (mii_rt) Did Map 0x3009f000 len 0x1c00 to 0x3009f000 (mdio) Did Map 0x3008a000 len 0x2000 to 0x3008a000 (txPru0Iram) Did Map 0x3008c000 len 0x2000 to 0x3008c000 (txPru1Iram) Did Map 0x300a5000 len 0x100 to 0x300a5000 (txPru0CtlReg) Did Map 0x300a5000 len 0x100 to 0x300a5000 (txPru1CtlReg) DP83822 detected DP83822 detected PRU_PHY_detect:185 Phy 1 alive PRU_PHY_detect:185 Phy 4 alive Phy 1 : REG[0x0000] = 0x3100 Phy 1 : REG[0x0001] = 0x7849 Phy 1 : REG[0x0002] = 0x2000 Phy 1 : REG[0x0003] = 0xA240 Phy 1 : REG[0x0004] = 0x01E1 Phy 1 : REG[0x0005] = 0x0000 Phy 1 : REG[0x0006] = 0x0004 Phy 1 : REG[0x0007] = 0x2001 Phy 1 : REG[0x0008] = 0x0000 Phy 1 : REG[0x0009] = 0x0000 Phy 1 : REG[0x000A] = 0x0100 Phy 1 : REG[0x000B] = 0x1000 Phy 1 : REG[0x000C] = 0x0000 Phy 1 : REG[0x000D] = 0x401F Phy 1 : REG[0x000E] = 0x0007 Phy 1 : REG[0x000F] = 0x0000 Phy 1 : REG[0x0010] = 0x4002 Phy 1 : REG[0x0011] = 0x0108 Phy 1 : REG[0x0012] = 0x0000 Phy 1 : REG[0x0013] = 0x0800 Phy 1 : REG[0x0014] = 0x0000 Phy 1 : REG[0x0015] = 0x0000 Phy 1 : REG[0x0016] = 0x0100 Phy 1 : REG[0x0017] = 0x0041 Phy 1 : REG[0x0018] = 0x0400 Phy 1 : REG[0x0019] = 0x8021 Phy 1 : REG[0x001A] = 0x0000 Phy 1 : REG[0x001B] = 0x007D Phy 1 : REG[0x001C] = 0x05EE Phy 1 : REG[0x001D] = 0x0000 Phy 1 : REG[0x001E] = 0x0102 Phy 4 : REG[0x0000] = 0x3100 Phy 4 : REG[0x0001] = 0x7849 Phy 4 : REG[0x0002] = 0x2000 Phy 4 : REG[0x0003] = 0xA240 Phy 4 : REG[0x0004] = 0x01E1 Phy 4 : REG[0x0005] = 0x0000 Phy 4 : REG[0x0006] = 0x0004 Phy 4 : REG[0x0007] = 0x2001 Phy 4 : REG[0x0008] = 0x0000 Phy 4 : REG[0x0009] = 0x0000 Phy 4 : REG[0x000A] = 0x0100 Phy 4 : REG[0x000B] = 0x1000 Phy 4 : REG[0x000C] = 0x0000 Phy 4 : REG[0x000D] = 0x401F Phy 4 : REG[0x000E] = 0x0007 Phy 4 : REG[0x000F] = 0x0000 Phy 4 : REG[0x0010] = 0x0002 Phy 4 : REG[0x0011] = 0x0108 Phy 4 : REG[0x0012] = 0x0000 Phy 4 : REG[0x0013] = 0x0800 Phy 4 : REG[0x0014] = 0x0000 Phy 4 : REG[0x0015] = 0x0000 Phy 4 : REG[0x0016] = 0x0100 Phy 4 : REG[0x0017] = 0x0041 Phy 4 : REG[0x0018] = 0x0400 Phy 4 : REG[0x0019] = 0x8024 Phy 4 : REG[0x001A] = 0x0000 Phy 4 : REG[0x001B] = 0x007D Phy 4 : REG[0x001C] = 0x05EE Phy 4 : REG[0x001D] = 0x0000 Phy 4 : REG[0x001E] = 0x0102 +EI_API_ADP_pruicssStart -EI_API_ADP_pruicssStart Assembly 0x64 size: 0 Assembly 0x64 size: 2 (attrId 0x340) Assembly 0x64 size: 4 (attrId 0x341) Assembly 0x64 size: 6 (attrId 0x342) Assembly 0x64 size: 8 (attrId 0x343) Assembly 0x64 size: 10 (attrId 0x344) Assembly 0x64 size: 12 (attrId 0x345) Assembly 0x64 size: 14 (attrId 0x346) Assembly 0x64 size: 16 (attrId 0x347) Assembly 0x64 size: 18 (attrId 0x348) Assembly 0x64 size: 20 (attrId 0x349) Assembly 0x64 size: 22 (attrId 0x34a) Assembly 0x64 size: 24 (attrId 0x34b) Assembly 0x64 size: 26 (attrId 0x34c) Assembly 0x64 size: 28 (attrId 0x34d) Assembly 0x64 size: 30 (attrId 0x34e) Assembly 0x64 size: 32 (attrId 0x34f) Local interface IP is 192.168.1.19 EI_API_ADP_getMacAddr: 1c:63:49:20:7c:bc
我的问题是如何使两个 DP83822 PHY 正常工作。
从日志中,我们能找到问题发生了吗? 我应该采取的下一步是什么?
谢谢你。