MCU-PLUS-SDK-AM243X: Enet Lwip ICSSG Example is not working

Part Number: MCU-PLUS-SDK-AM243X

Tool/software:

Subject: AM243x Launchpad TCP/UDP Application Issue with LwIP Stack

 

We are developing TCP/UDP IP applications on the AM243x Launchpad utilizing the LwIP networking stack, currently employing SDK version mcu_plus_sdk_am243x_10_00_00_20.

 We have encountered connectivity problems while testing the example provided at [Link]. Despite configuring a static IP address of 192.168.1.200 on the Launchpad (operating as the server), ping and iperf tests consistently fail to establish communication.  Firewall settings on the PC have been verified.

 Could you please confirm the functionality of this example on your system?

Attached the screenshot of Log from the device for your reference:

 

  • Hi ,

    Thanks for your query.

    I will check on this and get back to you.

    Regards

    Ashwani

  • Hi Ashwani,
    is there any update on this query? 
    Regards,
    Alex

  • Hi Alex,

    There is some setup issue on my side.

    I will try it and update by this weekend (24-Jan)

    Regards

    Ashwani

  • Hi

    I quickly tried on AM64x-evm with https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/10_00_00_20/exports/docs/api_guide_am64x/EVM_SETUP_PAGE.html

    Setup:

    PC <=> D-Link-Switch <=> ICSSG (upper port on evm)

    IP address assigned using DHCP (non-static)

    Logs:


    Regards

    Ashwani

  • Hi Ashwani,

    we are utilizing the AM243x Launchpad.  Could you please test this on the Launchpad and confirm the results?  

    Direct connection to the PC, as per the SDK user guide, should suffice for Launchpad use, eliminating the need for a D-Link switch, correct?

  • Getting same result with AM243x-lp board as well.

    Direct connection to the PC, as per the SDK user guide, should suffice for Launchpad use, eliminating the need for a D-Link switch, correct?

    I have setup with lab network connected all boards to D-link switch.

    Regards

    Ashwani

  • Hi Ashwani, 

    Thanks for the reply. As I mentioned earlier, we are using static IP configuration, but you are using DHCP. Can you please try this example with static IP configuration?

  • Hi Anand,

    Thanks for your patience.

    we are using static IP configuration, but you are using DHCP.

    Can you help me with code changes you have for static IP?

    Will not be it quick for you to try DHCP and match with results on my setup to root cause the DHCP / static IP issue?

    Regards

    Ashwani

  • Hi Ashwani,

     I have followed the steps outlined in the provided link (please refer to the "Steps to run the example" section).  Our requirement is a static IP address; however, I will test with DHCP and provide an update.

  • Following up on my previous reply, I have conducted testing of the DHCP functionality.  Results indicate that with SDK version mcu_plus_sdk_am243x_10_00_00_20, the example application fails to set the IP address, despite multiple attempts on both ports.  

    Screenshots illustrating this are attached below:

    (The application shows an invalid IP address after sometime,

     \

    The expected IP is 10.xx.xx.xx )

    Conversely, testing with the older SDK version (mcu_plus_sdk_am243x_08_06_00_45) yielded the expected DHCP functionality, as shown in the attached screenshot. 

     

    This means our setup is working fine.

     In summary, DHCP also not functioning correctly with the latest SDK version in my current setup.

  • Thanks Anand for patience,

    Following up on my previous reply, I have conducted testing of the DHCP functionality.  Results indicate that with SDK version mcu_plus_sdk_am243x_10_00_00_20, the example application fails to set the IP address, despite multiple attempts on both ports. 

    I have seen similar issue on my setup with SDK 10.0 and AM243x-lp board.

    Which version of AM243x-lp are you using?

    Dev team confirm there was some issue with SDK 10.0...
    Can you try with latest SDK 10.1 and update the results?

    Regards

    Ashwani

  • Hi,

    I downloaded the latest SDK (version 10.01.00.32), but I couldn't find any example for LwIP in this version. Please check this screenshot. Could you let me know which SDK version includes the LwIP example you mentioned? 


  • Hi Anand,

    Thanks for having patience.

    You can find ethernet examples at "C:\ti\mcu_plus_sdk_am243x_10_01_00_32\source\networking\enet\core\examples\lwip"

    Let me know if you need further help.

    Regards

    Ashwani

  • Thank you. The example is working fine.