Altera_Forum
Honored Contributor
20 years agoFPGA design & user program in EPCS?
I'd like to put both my FPGA design and my user code into an EPCS device. I've figured out how to put the FPGA design into the EPCS via JIC file but it's not entirely clear to me how the user program goes in there. From reading the bootloader source it appears that the user program gets stored in the EPCS right after the end of the FPGA design. But how do I get it in there? The flash programmer doesn't have a dropdown to select the target for the user program. Can someone answer the questions below:
1) Is it enough to use SOPC Builder to set the reset address of the CPU to the EPCS? Will that cause the flash programmer to put my program into the EPCS? 2) Can I create a JIC file that combines the FPGA and user code? Will I still have to set the reset address to the EPCS? 3) Is it still possible to debug the program by loading the SOF file into RAM or do I need a CPU with the reset address in RAM? Thanks, Andrew