Connect to FRDM-K64 over network

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Connect to FRDM-K64 over network

跳至解决方案
1,461 次查看
barrymcnamara
Contributor II

I have  FRDM-K64 board and am using KSDK 1.3.0 with KDS 3.2.0. I have built the httpserver demo and sent it to my board. When I have the board connected via ethernet directly to my computer, I am able to view the webpage by entering the IP address in my browser. However, when I connect the board to an gigabit switch which my computer is also wired to, this no longer works. Is it possible to configure the board so that it may be connected to over LAN?

标签 (1)
标记 (2)
1 解答
1,143 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Barry!

Please, what is your network address?

Be careful that IP Address of K64 must be in range of your network address and subnet.

For example

Network Address: 192.168.1.0

Subnet Mask: 255.255.255.0

the range of your network is 192.168.1.1 - 192.168.1.254 (255 is broadcast)

reserved address for your router is usually 192.168.1.1 so select any address from this range for K64 board.

By default is set 192.168.2.102 in http server demo, make sure that the address in demo code is changed regarding your device.

In case of any question, please let me know.

Best Regards,

Iva

在原帖中查看解决方案

2 回复数
1,144 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Barry!

Please, what is your network address?

Be careful that IP Address of K64 must be in range of your network address and subnet.

For example

Network Address: 192.168.1.0

Subnet Mask: 255.255.255.0

the range of your network is 192.168.1.1 - 192.168.1.254 (255 is broadcast)

reserved address for your router is usually 192.168.1.1 so select any address from this range for K64 board.

By default is set 192.168.2.102 in http server demo, make sure that the address in demo code is changed regarding your device.

In case of any question, please let me know.

Best Regards,

Iva

1,143 次查看
barrymcnamara
Contributor II

That was the problem. I was using the default IP of 192.168.2.102. Once I switched it to an open IP in my network range I was able to access the page.