Hey Dave,
Thanks for the info. I finally found them. When I added the EPCS controller to my Qsys project and synthesized it the EPCS controller generated 4 external signals. They are called data0, dclk, sce and sdo. I found all of the pins in the Pin information pdf and Cyclone IV pinout pdf with the exception of sce. I think that is the nCSO though which I also found in there as CSO. So I've gotten all of those connected up now and I've still got a problem. Maybe I can post up my process and you can let me know if you see anything I'm missing because for some reason I can't bootload the nios code.
This first way (JIC File) - from the attached NiosII Boot from EPCQ and EPCS in QuartusII 13.0:
First I run sof2flash()
sof2flash --input="D:/projects/xyz/DE2-115/Onboard_UART_Test/output_files/OnBoardUartTest.sof" --output="D:/projects/xyz/DE2-115/Onboard_UART_Test/flash/hw.flash" --epcs --verbose
next i run elf2flash:
elf2flash --input="
D:\projects\xyz\DE2-115\Onboard_UART_Test\software\DE115_OnBoard_UART\DE115_OnBoard_UART.elf" --output="
D:\projects\xyz\DE2-115\Onboard_UART_Test\flash\sw.flash" --epcs --after="
D:\projects\MMT\DE2-115\Onboard_UART_Test\flash\hw.flash" --verbose
next I run nios2-elf-objcopy:
nios2-elf-objcopy --input-target srec --output-target ihex "
D:\projects\xyz\DE2-115\Onboard_UART_Test\flash\sw.flash" "
D:\projects\xyz\DE2-115\Onboard_UART_Test\flash\sw.hex"
I then generate the JIC file:
I add the Cyclone 4 EP4Ce115 as the flash loader
I added the .sof file from quartus as the SOF Data
- I use properties to select compression on the SOF file
I then add the hex file produced from the command line above
- In this window I choose relative addressing and select the hex file
Below is a screen shot of my JIC creation window. The JIC creates with no problems.
https://www.alteraforum.com/forum/attachment.php?attachmentid=9481 After this I open up the programmer shown below:
https://www.alteraforum.com/forum/attachment.php?attachmentid=9482 This seems to go well too. I find the FPGA and attach the EPCS64 configuration flash to it. I then add the JIC file, check the program/configure box and it programs.
My nios and Qsys system screen shots below show how I connected/configured all of that.
https://www.alteraforum.com/forum/attachment.php?attachmentid=9483 EPCS Controller settings
https://www.alteraforum.com/forum/attachment.php?attachmentid=9484 NIOS II Settings - continued on next post b/c of JPG limit