Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by iztok.jeras@Nov 15 2006, 02:30 PM if 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
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19444)
--- quote end ---
--- Quote End --- I'm not "using NVRAM instead of Flash". My NV-RAM _is_ Flash. I just don't like Altera-provided CFI flash component so I replaced it with my own. Now I want SOPC Builder/Nios2 IDE to automatically place proper conversion commands in my makefile in the same way it does for Altera's CFI flash component.