Setting IPv4 of tower kit

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

Setting IPv4 of tower kit

808 次查看
prashantdev
Contributor III

I am using k60 tower kit. I've fnet stack for my application and I am not using any RTOS. Can anyone help me in setting the ipv4 address for my board.

标签 (1)
标记 (5)
0 项奖励
回复
2 回复数

681 次查看
danielchen
NXP TechSupport
NXP TechSupport

HI Prashant:

 

If you are using FNET, I would suggest you refer to the FNET quick start guider.

Embedded TCP/IP stack: FNET Shell Demo Quick Start 

 

You are able to change the default network parameters manually:

  • By using Shell commands:
    set address <default-if IPv4 address> set gateway <default-if IPv4 gateway address> set netmask <default-if IPv4 netmask address> set mac <default-if Ethernet address>
  • By changing the default values in the fapp_user_config.h source file.
    Your local system administrator is able to assign a unique IPv4 address for the board, and also provide you with the IPv4 addresses of the gateway and the netmask.

 

Regards

Daniel

0 项奖励
回复

681 次查看
prashantdev
Contributor III

Thanx for ur quick response Daniel. Actually, I haven't used shell commands with microcontrollers. I've used them like initialize or setting up microcontroller through main() function. I am struggling with it since last week. If u can prove me any sample project then it would be a great help.

0 项奖励
回复