Setting IPv4 of tower kit

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting IPv4 of tower kit

227 Views
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.

Labels (1)
0 Kudos
2 Replies

100 Views
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 Kudos

100 Views
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 Kudos