(转)JTAG方式配置EPCS芯片的方法

 

原文步骤是英文的,翻译了一下,不过我试了,好象有问题,选EPCS1芯片它说容量不够,

以下为原文:

//------------------------------------------------------------------------------------------------------------

JTAG模式配置Serial Flash芯片     作者 [ 抽烟的鱼 ]
发表时间 [ 2005-7-21 19:48:01 ]

    多谢VHDL网友给我的提示,我看了Quartus的帮助之后试验了一下,没有问题,但是好像光擦除不行,不知道是不是我设置还是什么地方不对。
   
总的来说就是两步,一个就是把sof文件转成JIC文件,然后在jtag模式下选择jic文件即可。
   
下面的是帮助里面的操作过程。

Programming Devices with the Serial Flash Loader

--------------------------------------------------------------------------------

To program an Altera serial configuration device (EPCS) with SOF data via the Serial Flash Loader and the JTAG interface:

1.Use the Assembler to generate an SRAM Object File (.sof) containing the FPGA configuration data.
1.
使用汇编器产生一个包含FPGA配置数据的SRAM目标文件(.sof)

2.Choose Convert Programming Files (File menu).
2.
选择转换编程文件(File->Convert Programming Files)

3.Under Output programming file, select JTAG Indirect Configuration File (.jic) in the Programming file type list.
3.
在输出编程文件下面,在编程文件类型列表中选择JTAG间接配置文件(.jic)(Output programming file:Programming file type:选择JTAG Indirect Configuration File (.jic)

4.In the Configuration device list, select the target EPCS configuration device you want to program.
4.
在配置器件列表里,选择你想对之编程的目标EPCS配置器件。(Configuration device:你要配置的芯片型号)

5.In the File name box, type the file name for the JIC File you want to create.
5.
在文件名选择栏(File name:output_file.jic),指定你想生成的JIC文件的名字(output_file换成你想要的名字)

6.To specify an existing SRAM Object File (.sof) for conversion to a JIC File, select the SOF Data item under Input files to convert and click Add File.
6.
指定一个现有的SRAM目标文件(.sof)来转换成JIC文件,在Input files to convert下面选择SOF Data,点击Add File...

7.To specify the target FPGA device that will program the EPCS device, select the Flash Loader item under Input files to convert and click Add Device.
7.
指定将要编程的EPCS的FPGA目标器件,选择Flash Loader项,点击Add Device

8.To generate the JIC file containing the Serial Flash Loader IP and EPCS programming data, click OK.
8.
生成包含串行Flash载入IPEPCS编程数据的JIC文件,点OK

9.Choose Programmer (Tools menu).
9.
编程。

10.If necessary, in the Mode list, select JTAG.
10.
选择JTAG模式。

11.To add the newly created JIC File to the programming list, click Add File in the Programmer window and select the JIC File.
11.
添加新生成的JIC文件到编程列表。

12.In the same row as the FPGA device in the programming list, turn on the Program/Configure option.
12.
在编程列表中FPGA器件的同一行,开启编程/配置选项。

13.In the same row as the EPCS device in the programming list, turn on the Program/Configure option.
13.
在编程列表中EPCS器件的同一行,开启编程/配置选项。

14.To configure the FPGA with the Serial Flash Loader IP and then program the EPCS device, click Start in the Programmer window.
14.
开始编程。

15.To reconfigure the FPGA with configuration data from the EPCS device, power cycle the FPGA device
posted @ 2008-12-15 09:55  安达米特  阅读(999)  评论(0编辑  收藏  举报