Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDo you have a solution meanwhile?
May be I can help. I'm using StratixII and EPCS64. With the following commands I programm the EPCS. # load SOF nios2-configure-sof --cable='USB-Blaster [USB-0]' my_hw_design.sof # generate EPCS images sof2flash --epcs --input=my_hw_design.sof --output=my_hw_design.flash elf2flash --epcs --after=my_hw_design.flash --input=my_firmware.elf --output=my_firmware.flash # flash EPCS first with FPGA configuration nios2-flash-programmer --cable='USB-Blaster [USB-0]' --epcs --base=0x21000 my_hw_design.flas # flash EPCS with Nios firmware nios2-flash-programmer --cable='USB-Blaster [USB-0]' --epcs --base=0x21000 my_firmware.flash If you do so you didn't need the quartus programmer and conversion of programming files in Quartus. Cyclone3 has 4 MSEL pins, you set just 0:2 it this correct? For the [EPCS-000000] problem I have just an idea. Some serial configuration devices (if they not original from Altera) need a description of their structure. Therefore you need a file called "nios2-flash-override.txt" in the C:\altera\72\nios2eds\bin\ directory. I have attached an examle file for EPCS128. Jens