Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
835 Views

MAC address on flash (Cyclone II development board)

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
Highlighted
Valued Contributor III
8 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