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 Team,
I'm writing to report an issue I'm encountering with the Enet Lwip CPSW Example configured with a static IP address in mcu_plus_sdk_am243x_09_01_00_41.
Background
I successfully ran the Enet Lwip CPSW Example with a static IP on the TMDS243EVM using mcu_plus_sdk_am243x_09_00_00_35. In this setup, I have modified code in file lwipcfg.h
file as below to set USE_DHCP and USE_AUTOIP as '0':
Hi Tomasz Krupski,
Thanks for your query.
I will check on this and get back to you.
Regards
Ashwani
[0]status_callback==UP, local interface IP is 192.168.3.50
[1]status_callback==UP, local interface IP is 192.168.4.50
you need to set different domain IP address for 2 ports as below
Best Regards
Ashwani
Hello Team,
We've identified an issue in the file test.c
starting from line 397.
ip4_addr_set(&gw, &gStaticIPNetmask[i]);
ip4_addr_set(&netmask, &gStaticIPGateway[i]);
The Gateway IP and the netmask have been swapped here!
To fix the issue, the two lines need to be swapped as follows:
ip4_addr_set(&netmask, &gStaticIPNetmask[i]);
ip4_addr_set(&gw, &gStaticIPGateway[i]);
After making this change, I was able to successfully ping using the current example.