Forum Discussion
Altera_Forum
Honored Contributor
8 years agoDon't you really want to put a .sof file inside a .jic file that is used to program the EPCS device?
For example, I use this tool: $(QUARTUS_BIN)/quartus_cpf -c DESIGN.cof
With this contents of the DESIGN.cof file: <?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<cof>
<eprom_name>EPCS4</eprom_name>
<flash_loader_device>EP2C20</flash_loader_device>
<output_filename>DESIGN.jic</output_filename>
<n_pages>1</n_pages>
<width>1</width>
<mode>7</mode>
<sof_data>
<user_name>Page_0</user_name>
<page_flags>1</page_flags>
<bit0>
<sof_filename>DESIGN.sof</sof_filename>
</bit0>
</sof_data>
<version>4</version>
<options>
<map_file>1</map_file>
</options>
</cof>
for producing the programming image of the EPCS4 device attached to my CycloneII device. You will have to change the EPCS type and the FPGA type to match your board specification. I am using Quartus 13.0sp1 as that is the last version to support Cyclone II device (and I believe Cyclone I as well).