Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

HOW to find MAC address of your DE2 board?

Altera_Forum
Honored Contributor II
1,182 Views

Hi all, 

I just got my hand on a new DE2 board and I would like to use the Ethernet funciton of it. I had trouble finding the MAC address of my DE2 board. (i need to register the mac address in my university network before I can use it). Does anyone know how to find it? 

 

 

Thanks in advance. 

Tony
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
345 Views

Hi, 

if you are using the LWIP stack (as I suppose) you have to check the function "get_mac_addr": it should read the byte of the MAC address from flash... 

bye
0 Kudos
Altera_Forum
Honored Contributor II
345 Views

Soin, thank you for your reply, but is there any other way I can find it out?? 

Because, the get_mac_addr seems to be only able to recognize the Altera Development board only but not DE2 board. 

I used the DE2_control panel to read the content in the CFI flash but I read out an empty file. I thought I could find out the MAC address by looking at the content of the flash memory.  

 

Thanks 

Tony
0 Kudos
Reply