Altera_Forum
Honored Contributor
13 years agoTerasic DE2-115 Flash programming
Good morning,
Have been developing FPGA and NIOS-based SW for DE2-115 using USB blaster to load SOF and elf files for debugging. Now want to permanently program FPGA and FLASH. Have been able to load POF into FPGA. Can execute NIOS SW from SDRAM. However, it fails to execute when I try to flash it. Following is the process I've used. In SOPC Builder, changed reset from SDRAM to CFI_FLASH for the CPU component Rebuilt SOPC Rebuilt system in Quartus Reloaded POF In NIOS, edited BSP and changed .text and .rodata elements to cfi_flash (I noticed that the reset vector is also configured for CFI flash as well). Regenerated BSP Cleaned BSP Cleaned Application Rebuilt BSP Rebuilt Application In NIOS Flash programmer, user BSP Settings and select ELF file generated above. Program flash (No errors annunciated). Would appreciate any guidance on what I may be doing wrong... ME