How to find mac address and ip address of my IMXRT1170 board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to find mac address and ip address of my IMXRT1170 board?

Jump to solution
815 Views
jyopal2696
Contributor I

Hi,

I actually want to establish an Ethernet communication between IMXRT1170 board and my PC. I have seen some driver examples provided in SDK, in that example they used loop back communication and they have defined a mac address in the frame. Now I just want to add an ARP packet in that code so that I can establish communication between the board and my PC. For that I need to give the source MAC address and IP address in ARP packet where IMXRT1170 board is my source. Can anyone please help me by providing any documentation or telling me how to find the mac address and IP address of my board?

Thank you.

0 Kudos
Reply
1 Solution
795 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi 

There is a Macro configMAC_ADDR can define the MAC address.

danielchen_0-1673230948836.png

IP address defined by configIP_ADDR

danielchen_1-1673231035912.png

please refer to lwip_ping_bm.c for more details. 

 

Regards

Daniel

 

View solution in original post

1 Reply
796 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi 

There is a Macro configMAC_ADDR can define the MAC address.

danielchen_0-1673230948836.png

IP address defined by configIP_ADDR

danielchen_1-1673231035912.png

please refer to lwip_ping_bm.c for more details. 

 

Regards

Daniel