Setting IPv4 of tower kit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Setting IPv4 of tower kit

809件の閲覧回数
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)
0 件の賞賛
返信
2 返答(返信)

682件の閲覧回数
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 件の賞賛
返信

682件の閲覧回数
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 件の賞賛
返信