Altera_Forum
Honored Contributor
14 years agosw+hw EPCS programming using Programmer / nios2-flash-programmer
Hi,
I'm again facing a curious episode. I have a system that consists of a fpga with a nios processor (included a epcs controller) + epcs + external sram + external cfi flash. Currently I'm using an epcs to store software and fpga configuration data. Following the solution described in everything works pretty fine. After programming with the programmer (using the jic file), the fpga don't start, but after turn off/turn on the power supply used with the system, the fpga load the content recently programmed in the epcs and starts sucessfully. However when trying to use the nios2-flash-programmer, I have some problems.. I tried to follow the hints in the threads- http://www.alteraforum.com/forum/showthread.php?t=14665
- http://alteraforums.net/forum/showthread.php?p=111765
nios2-configure-sof --cable='USB-Blaster ' ${hwproject}myhardware.sof
sof2flash --input=${hwproject}myhardware.sof --output=myhardware.flash --epcs --verbose
elf2flash --input=${swproject}mysoftware.elf --output=mysoftware.flash --epcs --after=myhardware.flash --verbose
nios2-flash-programmer --cable='USB-Blaster ' --epcs --base=0x00 myhardware.flash
nios2-flash-programmer -g --cable='USB-Blaster ' --epcs --base=0x00 mysoftware.flash
I would like to use the nios2-flash-programmer due to possibility of use scripts and avoid using the Programmer.. About my environment: My EPCS controller was set up with the base address 0x00000000 in SOPC builder. I'm using Quartus 10.1 Are there any bug related with this feature / quartus / nioseds version ? Thank you !