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.

AM2434

Part Number: AM2434
Other Parts Discussed in Thread: LP-AM243

Tool/software:

Actually I am developing an GUI for assigning IP addresses for the Ethernet I/P(EIP)  module (AM2434 used for EIP Development) we have set static IP address in appRst.c file  . How can we change this IP address, subnet , gateway by connecting AM2434 through LAN ??     

We are trying to evaluate LP-AM243 for EtherNet/IP adapter using industrial communication SDK as mentioned in the link below–( ind_comms_sdk_am243x_09_00_00_03)

https://dev.ti.com/tirex/explore/node?node=A__AD2nw6Uu4txAz2eqZdShBg__INDUSTRIAL-COMMUNICATIONS-SDK-AM243X__P--DGtH__LATEST

how the backend part works for assigning IP addresses through LAN Cable ??

The following changes are made in the in appRst.c file 

the following changes are made in appCfg.c file (configuration method is 0) 

 

can you also specify about changing of IP through CLI(command line interface)??

  • Hi Yashaswini,

    Since you're using Static IP as the startup configuration, you can change the IP address, subnet and gateway on the AM243x Device running EthernetIP application via the TCP/IP Object (Class code : 0xF5). You can do a "Set_Attribute" for the Attribute 5 (Interface Configuration) of the TCP/IP Object in order to change the paramters that you mentioned.

    For this, you can use the ODVA Conformance Test Tool (CT20) Messaging Tools. You can also do it using the Hilscher EtherNet/IP Tool, more info here : https://hilscher.atlassian.net/wiki/spaces/EIS2V7/pages/123994946/Hilscher+EtherNet+IP+Tool .
    NOTE: These are not TI tools. Make sure you read the required licensing information before usage.

    For more information, I'd highly suggest you to go through the Section 5.4 (TCP/IP Interface Object) of Volume 2: EtherNet/IP Adaptation of CIP, Chapter 5: Object Library of the EthernetIP Spec.

    Regards
    Archit Dev

  • By Hilscher EtherNet/IP Tool,I am able to change IP address but once the board is Power cycled, the board is set to default IP  which is coded in the firmware. How can we change it permanently so that IP address stays the same when the board is Power cycled?

  • Hi Yashaswini,

    I am re-assigning this thread to our EthernetIP Stack Expert. He will be able to help you better.

    Your patience is appreciated.

    Regards
    Archit Dev 

  • Hi Yashaswini,

    if you change IP Address as my colleague mentioned, these changes will be saved in non-volatile memory and after a normal power-cycle it will keep the changes.
    Unless you perform Factory-Default or Out-of-Box reset, in those cases the default setting will be applied and your changes will be lost. But in your case, I don't think you are sending any reset service request, are you?

    Which brings me to the next question, are you running your application from OSPI Flash? Because if you have loaded the application from CCS in a Debug session no changes will be saved obviously. You need to flash your application in non-volatile memory.

    Regards
    Pourya

  • I am sorry for the confusion. As of now we are able to change the IP address and board is Keeping the changes as well 

    Thank you