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
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.
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
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