Part Number: LP-AM263
Hello,
My colleagues and I are trying to start working with the networking capabilities of Sitara processors and having some trouble getting the demos up and running. I've had the most success in that I have been able to get the LWIP_CPSW to pull an IP address and was able to run iperf a couple of times. However, most of the times I plug it in I see something similar to this:
[2022-08-24 15:44:20.253] Device Type : HSFS [74/9503]
[2022-08-24 15:44:20.256] Starting QSPI Bootloader ...
[2022-08-24 15:44:20.277] [BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
[2022-08-24 15:44:20.282] [BOOTLOADER_PROFILE] Boot Media Clock : 80.000 MHz
[2022-08-24 15:44:20.286] [BOOTLOADER_PROFILE] Boot Image Size : 290 KB
[2022-08-24 15:44:20.290] [BOOTLOADER_PROFILE] Cores present :
[2022-08-24 15:44:20.295] r5f0-0
[2022-08-24 15:44:20.296] [BOOTLOADER PROFILE] System_init : 788us
[2022-08-24 15:44:20.301] [BOOTLOADER PROFILE] Drivers_open : 33us
[2022-08-24 15:44:20.308] [BOOTLOADER PROFILE] LoadHsmRtFw : 177us
[2022-08-24 15:44:20.314] [BOOTLOADER PROFILE] Board_driversOpen : 239us
[2022-08-24 15:44:20.321] [BOOTLOADER PROFILE] CPU load : 16815us
[2022-08-24 15:44:20.327] [BOOTLOADER_PROFILE] SBL Total Time Taken : 18055us
[2022-08-24 15:44:20.334]
[2022-08-24 15:44:20.334] Image loading done, switching to application ...
[2022-08-24 15:44:20.347] ==========================
[2022-08-24 15:44:20.350] ENET LWIP App
[2022-08-24 15:44:20.352] ==========================
[2022-08-24 15:44:20.354] Starting lwIP, local interface IP is dhcp-enabled
[2022-08-24 15:44:20.359] Host MAC address: XX:XX:XX:XX:XX:XX
[2022-08-24 15:44:20.362] [LWIPIF_LWIP] Enet has been started successfully
[2022-08-24 15:44:20.366] [LWIPIF_LWIP] NETIF INIT SUCCESS
[2022-08-24 15:44:20.370] status_callback==UP, local interface IP is 0.0.0.0
[2022-08-24 15:44:20.374] UDP server listening on port 5001
[2022-08-24 15:44:20.554] EnetPhy_bindDriver:1718
[2022-08-24 15:44:23.654] Cpsw_handleLinkUp:1800
[2022-08-24 15:44:23.656] MAC Port 1: link up
[2022-08-24 15:44:23.860] link_callback==UP
[2022-08-24 15:44:25.376] 5. 28s : CPU load = 1.71 %
[2022-08-24 15:44:30.377] 10. 28s : CPU load = 1.49 %
[2022-08-24 15:44:30.855] status_callback==UP, local interface IP is XXX.XXX.XXX.XXX
[2022-08-24 15:44:33.055] Cpsw_handleLinkDown:1826
[2022-08-24 15:44:33.057] MAC Port 1: link down
[2022-08-24 15:44:33.155] Mdio_ioctl:420
[2022-08-24 15:44:33.157] EnetMod_ioctl:1305
[2022-08-24 15:44:33.158] EnetPhyMdioDflt_readC22:236
[2022-08-24 15:44:33.161] EnetPhy_rmwReg:638
[2022-08-24 15:44:33.255] Mdio_ioctl:420
[2022-08-24 15:44:33.257] EnetMod_ioctl:1305
[2022-08-24 15:44:33.258] EnetPhyMdioDflt_readC22:236
[2022-08-24 15:44:33.261] EnetPhy_readReg:600
[2022-08-24 15:44:33.355] Mdio_ioctl:420
[2022-08-24 15:44:33.357] EnetMod_ioctl:1305
[2022-08-24 15:44:33.358] EnetPhyMdioDflt_readC22:236
[2022-08-24 15:44:33.361] EnetPhy_readReg:600
[2022-08-24 15:44:33.363] link_callback==DOWN
[2022-08-24 15:44:33.455] Mdio_ioctl:420
[2022-08-24 15:44:33.457] EnetMod_ioctl:1305
[2022-08-24 15:44:33.458] EnetPhyMdioDflt_readC22:236
[2022-08-24 15:44:33.461] EnetPhy_readReg:600
[2022-08-24 15:44:33.555] Mdio_ioctl:420
[2022-08-24 15:44:33.557] EnetMod_ioctl:1305
[2022-08-24 15:44:33.558] EnetPhyMdioDflt_readC22:236
[2022-08-24 15:44:33.561] EnetPhy_readReg:600
[2022-08-24 15:44:33.655] Mdio_ioctl:420
[2022-08-24 15:44:33.657] EnetMod_ioctl:1305
[2022-08-24 15:44:33.658] EnetPhyMdioDflt_readC22:236
[2022-08-24 15:44:33.661] EnetPhy_readReg:600
[2022-08-24 15:44:33.756] Mdio_ioctl:420
With the Mdio_ioctl and EnetMod spamming the terminal until I unplug the device. When it is in this state I am no longer able to ping the device.
We are all working remotely from our respective homes, so I believe the issue is software related, not an issue with HW or networking configurations.
Thanks,
Mike

