Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

writing MAC address to Flash

Altera_Forum
Honored Contributor II
952 Views

I have a custom board with a CFI flash which is based on the Cyclone IV GX starter kit.  

 

I'm trying to get the simple socket server example working on the board, however the example is trying to look for the Mac address in flash memory. I know how to write POF's etc to memory boundaries however I'm not sure how to write the mac address to Flash and in what format. 

 

From looking at the Cyclone IV transceiver starter kit user manual (https://www.altera.com/en_us/pdfs/literature/ug/ug_civgx_trans_starter_kit.pdf) the Ethernet options bits are at location 0x00008000 - 0x0000FFF is this where the MAC address sits? if so how do i get the 6 Byte Mac address format to sit at this address. ie a MAC address of 60-CC-62-64-42-46 to sit at location 0x00008000. 

 

Is there any thing else i need to add to flash in order to get the simple socket server up and running.
0 Kudos
0 Replies
Reply