We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi, Can anyone tell me how to set IP address for ARM board lpc2378. or is there a way to check the IP address of the board.
I want to communicate between PC and lpc2378 through ethernet, for that i need to know the IP address of lpc2378!!!
KINDLY HELP. THANKS IN ADVANCE.
Gayathri.K
The board does not have an IP address.
The IP address is determined by software running on the board - so you need to consult the documentation for whatever software you will be running on the board!
There is no IP address for your board. correct. Its purely depends your software.
are you using evaluation board from keil? If you are using RL-ARM then there is no work for you to configure IP address for your board. The work became so easy to you. Check your given relevant Example sample codes. If you are able to find the Ethernet samples there might be a Net_Config.c kind of file where they assign system definitions, Ethernet network interface(here you can find all the configuration on your board).
If you are not using RL ARM go to your data sheet and check the details. Because i am not using LPC2378 to tell you the details. if you have any doubts you can post here.
Hey,
You can possibly set the IP address this way ,
#define MYIP_1 192 #define MYIP_2 168 #define MYIP_3 10 #define MYIP_4 100
#define SUBMASK_1 255 #define SUBMASK_2 255 #define SUBMASK_3 255 #define SUBMASK_4 0
#define GWIP_1 192 #define GWIP_2 168 #define GWIP_3 10 #define GWIP_4 254
Parse these parameters to the EMAC driver.
Regards, Samjith
hi, Can you tell me in which header file we have to define all these hash defines......
thanks and regards, Gayathri.K
Define under tcpip.h
Thanks, actually i have downloaded the program of EMAC from keil site. in that there is no tcpip.h file
Regards, Gayathri.K
I will send you a sample code , try this.Between i need your email id to send the attachment file.
gayathri12319@yahoo.co.in