Other Parts Discussed in Thread: LP-AM243, DP83869
I am using the LP-AM243 Launchpad development board with the SDK 08.03.00.18. I have most of the non-network examples running fine, multicore, rpc, ipc, etc. When I try the LWIP example lwip_icssg with freertos it works fine plugged into J19. iperf test is great. If I try to run the lwip_cpsw it does not run properly and wireshark is showing no network traffic. Link light is present and using the same port. I have link and the terminal output is below. Board power cycled, reset, etc. I have changed nothing in the example except rebuilt it. Given the lwip_icssg works great I know the DHCP server and network connection are fine. Is there a problem with the enet_lwip_cpsw_am243x_lp_r5fss0-0_freertos_ti-arm-clang project that needs changing/updating? Suggestions (I tried the other Ethernet port as well but the example is not setup for that and the output alternated between EnetMod and Mdio_ioctl as expected):
Get the following with cpsw example:
EnetMod_ioctl:1305
Mdio_ioctl:581
EnetMod_ioctl:1305
Cpsw_handleExternalPhyLinkUp:2588
Cpsw_handleLinkDown:1995
Cpsw_handleExternalPhyLinkUp:2588
Starting lwIP, local interface IP is dhcp-enabled
Host MAC address: f4:84:4c:fb:be:bd
[LWIPIF_LWIP] Enet has been started successfully
[LWIPIF_LWIP] NETIF INIT SUCCESS
status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
link_callback==UP
8.634s : CPU load = 0.00 %
13.634s : CPU load = 1.82 %
then it looks like DHCP must timeout and you get this later, again no traffic on wireshark for DHCP requests:
243.634s : CPU load = 1.83 %
248.634s : CPU load = 1.84 %
status_callback==UP, local interface IP is 169.254.190.190
... CPU load ... continues...
Thanks,
Kev