Forum Discussion
Altera_Forum
Honored Contributor
19 years agoIf you are using NVRAM instead of Flash you may place the component into SOPC builder as a normal RAM memory (the IDT SRAM for example). You will get a warning that the reset and exception address is pointing to a volatile memory, but you can ignore it.
Than instead of writing the code into Flash, just download (Run) it into NVRAM. The code should stay there after a power up sequence. In the properties dialog for the project library you van select which part of the code should be placed into NVRAM (only .text or variables too, the stack? ...). If you would like to automate the process, subversion friendly, than modify the flash programmer script to use the nios2-download executable instead of the flash programmer. You may have to add some format conversions if you would like to use the Altera provided boot loader. IzI