Part Number: MCU-PLUS-SDK-AM243X
Hello,
I am trying to run the lwip examples, e.g., enet_lwip_cpsw, on the am243. I followed the setup in the docs and I set up a LAN for my host machine and the LP but the LP does not get an IP assigned from the dhcp server on the router.
here are the logs I get when running the enet_lwip_cpsw example:
==========================
ENET LWIP App
==========================
Enabling clocks!
Mdio_open:282
PHY 3 is alive
PHY 15 is alive
Starting lwIP, local interface IP is dhcp-enabled
Host MAC address: f4:84:4c:f9:98:ce
[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
Cpsw_handleExternalPhyLinkUp:1232
link_callback==UP
5. 40s : CPU load = 1.40 %
10. 40s : CPU load = 1.12 %
15. 40s : CPU load = 1.12 %
20. 40s : CPU load = 1.12 %
25. 40s : CPU load = 1.12 %
30. 40s : CPU load = 1.13 %
35. 40s : CPU load = 1.13 %
40. 40s : CPU load = 1.13 %
45. 40s : CPU load = 1.13 %
50. 40s : CPU load = 1.13 %
Cpsw_handleLinkDown:1392
link_callback==DOWN
55. 40s : CPU load = 1.15 %
60. 40s : CPU load = 1.13 %
65. 40s : CPU load = 1.13 %
70. 40s : CPU load = 1.14 %
75. 40s : CPU load = 1.14 %
Cpsw_handleExternalPhyLinkUp:1232
link_callback==UP
80. 40s : CPU load = 1.15 %
85. 40s : CPU load = 1.15 %
90. 40s : CPU load = 1.16 %
95. 40s : CPU load = 1.14 %
Cpsw_handleLinkDown:1392
link_callback==DOWN
100. 40s : CPU load = 1.16 %
Cpsw_handleExternalPhyLinkUp:1232
link_callback==UP
Cpsw_handleLinkDown:1392
link_callback==DOWN
Cpsw_handleExternalPhyLinkUp:1232
link_callback==UP
105. 40s : CPU load = 1.17 %
110. 40s : CPU load = 1.15 %
Cpsw_handleLinkDown:1392
link_callback==DOWN
115. 40s : CPU load = 1.16 %
Cpsw_handleExternalPhyLinkUp:1232
link_callback==UP
120. 40s : CPU load = 1.16 %
125. 40s : CPU load = 1.17 %
130. 40s : CPU load = 1.16 %
135. 40s : CPU load = 1.14 %
then it keeps logging the CPU load.
I hope you could help me further with the problem. Thank you.
Best
Belal