|
Today I try to start basic-emac-uip-helloworld-project which is located at IAR collection of examples. It initialize the Ethernet connection and try to send data between computer and evaluation kit board. But, I see the problem. there is no ping of evaliation kit when I use it with any settings of HostIP, RouterIP and NetMask. Evaluation kir now connected to Ethernet through router. My computer also connected through other router to the Internet. I see the the initial IP Address of controller and IP Address of my computer are from different subnets. The initial parameters of my computer are the following: 1) IP Address = 172.16.116.188; 2) Subnet mask = 255.255.255.224; 3) Gateway - 172.16.116.177; 4) DNS=219.252.0.1. The initial parameters of my controller (from IAR example) are the following: 1) HostIpAddress = 10.159.245.156; 2) RoutIpAddress = 10.159.245.157; 3) NetMask = 255.255.254.0. After first attempt to download project and no response from controller (timeout request) I decide to change eveluation kit's IP Address and Subnet mask. I change it in tapdev.h file. So, I try to set the HostIP Address equal to 172.16.116.179 (which is spare in our net) and RouterIp Address equal to 172.16.116.189. I also change NetMask to 255.255.255.224. But I also see the error pinging (timeout request). This means that i haven't received any answer from controller.
My question is how I have to settle the TCP/IP parameters to receive ping response? And I am interested in both cases: 1) connecting through router/hub using direct cable; 2) directly connecting through cross cable.
Thank you in advance.
Sincerely yours
|