TSoM Programming the EPCS Device

From Terasic Wiki

(Difference between revisions)
Jump to: navigation, search
(1.2 8.2 Convert .SOF File to .JIC File)
 
(34 intermediate revisions not shown)
Line 1: Line 1:
-
This guide describes how to program the serial configuration (EPCS) device with Serial Flash Loader (SFL) function via the JTAG interface. Users can program EPCS devices with a JTAG indirect configuration (.jic) file, which is converted from a user-specified SRAM object file (.sof) in Quartus. The .sof file is generated after the project compilation is successful. The steps of converting .sof to .jic in Quartus II are listed below.
+
*[[TSoM_Programming_the_EPCS_Device_revA|Rev A]]
 +
*[[TSoM_Programming_the_EPCS_Device_revB|Rev B]]
-
 
+
[[TSoM_Document|Back]]
-
==                <span style="color:#000080;">1.1 Before Programming Begins</span> ==
+
-
The FPGA should be set to AS x1 mode i.e. MSEL[4..0] = “10010” to use the Flash as a FPGA configuration device.
+
-
 
+
-
 
+
-
Please install the 10K ohm resistors in the red resistor position in the figure below.
+
-
 
+
-
 
+
-
 
+
-
confirm that the red resistor position in the figure below does not have any resistors installed.
+
-
 
+
-
==                <span style="color:#000080;">1.2 8.2 Convert .SOF File to .JIC File</span> ==
+
-
 
+
-
 
+
-
To programme the design file into the EPCS device, a .jic file is required. Here's how to convert the .sof file generated by Quartus compile to .jic.
+
-
 
+
-
#Choose Convert Programming Files from the File menu of Quartus II, as shown in Figure 8 2.
+
-
#Select JTAG Indirect Configuration File (.jic) from the Programming file type field in the dialog of Convert Programming Files.
+
-
#Choose EPCS64 from the Configuration device field.
+
-
#Choose Active Serial from the Mode filed.
+
-
#Browse to the target directory from the File name field and specify the name of output file.
+
-
#Click on the SOF data in the section of Input files to convert, as shown in Figure 8 3.
+
-
#Click Add File.
+
-
#Select the .sof to be converted to a .jic file from the Open File dialog.
+
-
#Click Open and the Convert Programming Files page will appear.
+
-
#Click on the Flash Loader and click Add Device, as shown in Figure 8 4.
+
-
#The Select Devices page will appear, please select the targeted FPGA to be programed into the EPCS, as shown in Figure 8 5.
+
-
#Click OK and the Convert Programming Files page will appear, as shown in Figure 8 6.
+
-
#Click Generate.
+

Latest revision as of 11:06, 24 July 2019

Back

Personal tools