Altera_Forum
Honored Contributor
19 years agoProgramming w/o EPCS & w/o Nios Programmer
Hopefully someone can give a little guidance to a hopefully simple programming question. I've searched the forum & documentation in vain.
I'd like to have a microcontroller be responsible for programming two flash devices, one which will store an RBF file for FPGA configuration (easy & working on our board), and one which will store the program code for the Nios processor. The question is, what should be exactly program into the 2nd flash device? The .elf file, the .flash file from elf2flash, some other binary file? It would be nice to put the elf2flash into the chain somewhere so that we can incorporate the Altera-provided bootloader to copy from flash into SDRAM. I guess I do have a second question as well. It looks like the Dev. Board works off of having a 16-bit wide SRAM and an 8-bit wide Flash device. Does the SOPC builder automatically mitigate different bus-widths for addressing purposes? Thanks in advance, Kevin