Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow to create and store data table in Flash
I want to create a few tables of data and store the tables and specific locations in off-chip Flash memory. The Linker would easily allow me to do this, but I am porting legacy code from long ago and...
Altera_Forum
Honored Contributor
16 years agoEven if you specify to the compiler and linker that these tables reside in location corresponding to the flash, they're not going to automatically be programmed there for you. The best you could hope for is that the resulting ".flash" S-record file produced by the NIOS II tools would have this data in it.
Program the flash locations separately. Then in your program, simply specify the address of the tables so that you can read them. Jake