Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

HOW to find MAC address of your DE2 board?

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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