FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5922 Discussions

MAC address on flash (Cyclone II development board)

Altera_Forum
Honored Contributor II
1,524 Views

Hi all, 

 

I'm using Cyclone II development board. According to the manual, the MAC address is stored in the persistent data section on the flash, which starts from 0x00FF0000 to 0x00FFFFFF, but it doesn't say the exact location. Does anybody know the exact location of MAC address on flash for this board? 

 

Thank you
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
697 Views

For Cyclone II and earlier boards, it's always +5 bytes offset from the beginning of the last flash sector. 

 

See the sample C code that is part of both the web_server and simple_socket_server applications, which are shipped with each EDS release. Just look for the get_board_mac_addr() function in network_utilities.c. 

 

Cheers, 

 

- uraslacker
0 Kudos
Reply