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.

TMDSSOLARPEXPKIT: host IP address

Part Number: TMDSSOLARPEXPKIT

Hi there,

I'm working on the SolarExplorer_PVInverter_F28M35x_M3 project and I would like to know how could I change the host  IP address which is set to 169.254.42.86 by default.

thanks so much!

Carlos

  • look at the code in

    enet_uip.c

    /*****************************************************************************
    // Default TCP/IP Settings for this application.
    // Default to Link Local address ... (169.254.1.0 to 169.254.254.255). Note:
    // This application does not implement the Zeroconf protocol. No ARP query is
    // issued to determine if this static IP address is already in use.
    // TODO: Uncomment the following #define statement to enable STATIC IP
    // instead of DHCP.
    //*****************************************************************************
    #define USE_STATIC_IP

    #ifndef DEFAULT_IPADDR0
    #define DEFAULT_IPADDR0 169
    #endif

    #ifndef DEFAULT_IPADDR1
    #define DEFAULT_IPADDR1 254
    #endif

    #ifndef DEFAULT_IPADDR2
    #define DEFAULT_IPADDR2 254
    #endif

    #ifndef DEFAULT_IPADDR3
    #define DEFAULT_IPADDR3 169
    #endif

    #ifndef DEFAULT_NETMASK0
    #define DEFAULT_NETMASK0 255
    #endif

    #ifndef DEFAULT_NETMASK1
    #define DEFAULT_NETMASK1 255
    #endif

    #ifndef DEFAULT_NETMASK2
    #define DEFAULT_NETMASK2 0
    #endif

    #ifndef DEFAULT_NETMASK3
    #define DEFAULT_NETMASK3 0
    #endif

  • I believe this is the address for the serever. What I would like to change is the control card static IP address (i.e. change the default one 169.254.42.86 to any other)

    Thank you very much!
  • Carlos,

    I have assigned this to another team member who is more familiar with ENET and may be able ot advise on this.

    regards
    Manish Bhardwaj
  • Carlos,
    yes, the example serves as a server running on the kit and the address of the board (running the server) is as Manish pointed out.

    The source code comments tell you how you can connect a PC with a static IP assignment under same subnet so you can talk to the server over  from the PC.

    Hope this helps.


    Best Regards
    Santosh Athuru

  • Yes, The source code comments tell me how to connect PC with the static IP 169.254.42.86
    But what I would like know is how to change this address.

    Regards,

    Carlos
  • Carlos,

    I don't understand your question. The Scope of the example is to demonstrate a client<->server model over EMAC. For this the board runs the server and the PC is client. You will have to connect both PC and the board with an ethernet cable and assign the static IP to the PC as explained in the example comments (at the top of main source file) and access the server.

    Are you asking to change the IP address of the server or client or both? why do you need to do that?
    or
    Are you asking how to assign the said IP address to your PC , if so then this is explained in the example file at the top.


    Hope this helps.


    Best Regards
    Santosh Athuru