Part Number: AM261-SOM-EVM
Other Parts Discussed in Thread: DP83869
Hello!
I have an ethernet based project, which uses the TI AM261x Industrial communication SDK. Part of my project is based on the CPSW LwIP enet TCP Server example from SDK version 10.02.00.17. So far I was developing and testing it on AM261x LaunchPad revision E2 with external PHY DP83826.
Recently we upgraded to the new LP revision A, which has built in DP83869 PHYs and I have to port my project for it. I updated the sys config settings for the different PHY and regenerated the files, but the app is not completing its initialization. It seems that it fails even before the PHY initialization. The UART debug print is not complete as well. Sometimes it reaches to
==========================
CPSW LWIP TCP ECHO SERVER
==========================
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 3
Open MAC 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
Sometimes it fails in the beginning:
==========================
CPSW LWIP TCP ECHO SERVER
==========================
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 3
Open
or in random moments during the print.
I know that the version of the SDK (10.02.00.17) that I am currently using is old and compatible with LP E2. I also read that the newer SDK (Ind comm 2025_00_00_08 and MCU+ 11_01_00_19) are updated to handle the A revision of the LP. However, due to reasons specific for my project, it is difficult to update the SDK at this moment.
So, my question is is it possible to run the CPSW enet example from SDK 10.02.00.17 on LP rev A by changing the PHY related configs. Or it is unavoidable to upgrade the SDK for the new LP? If it is possible what are the main points that I should pay attention to?
Thanks!