Forum Discussion
Altera_Forum
Honored Contributor
10 years agoThe method that you are attempting to use will end up with the FPGA configuration data at the beginning of the EPCS, and the NIOS firmware sitting in EPCS right after that.
The NIOS firmware is not directly usable when it is sitting in the EPCS flash. It needs to be copied from EPCS to RAM before the NIOS starts executing. This relocation is usually performed by the boot loader included with the "EPCS Serial Flash Controller" IP block. So if you haven't already, you need to add that core and configure it appropriately, and have your NIOS reset vector point to it. If you search around for "NIOS EPCS boot" there's many other threads/appnotes/knowledgebase related to it.