Forum Discussion
Altera_Forum
Honored Contributor
18 years agoMAC 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 you1 Reply
- Altera_Forum
Honored Contributor
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