This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi!
SDK version: mcu_plus_sdk_am243x_08_05_00_24
Board: AM243x-LP, E3
I would like to modify the lwip cpsw example to work with two static IPs on the r5_0_0 core. One IP1 over RGMII1 and a second one IP2 over RGMII2 interface.
I have already got one static IP after I've uncommented following macro in lwipcfg.h file
Thanks for bringing this to our attention. I have created an internal request for it.
https://jira.itg.ti.com/browse/MCUSDK-10478
Follow the below work around:
In the file : mcu_plus_sdk_am243x_08_05_00_24\examples\networking\lwip\enet_lwip_cpsw\test.c
1. Use attached test.c, replacing the existing one /cfs-file/__key/communityserver-discussions-components-files/908/test.c
2. Rebuild the example and you should be able to see the ip address assigned to both interface.
=========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2
Mdio_open:282
EnetPhy_bindDriver:1718
EnetPhy_bindDriver:1718
PHY 0 is alive
PHY 3 is alive
Host MAC address-0 : ac:1f:0f:84:0c:33
Host MAC address-1 : 70:ff:76:1e:63:ee
[LWIPIF_LWIP] NETIF INIT SUCCESS
[LWIPIF_LWIP] NETIF INIT SUCCESS
[LWIPIF_LWIP] Enet has been started successfully
status_callback==UP, local interface IP is 192.168.1.1
status_callback==UP, local interface IP is 192.168.1.2
UDP server listening on port 5001
Cpsw_handleLinkUp:1407
Let me know if this helps.
BR
Nilabh A.