Programming the EPCQ Device QUARTUS FPGA AS模式 加载程序 掉电加载

8 篇文章 0 订阅

QUARTUS FPGA AS模式 加载程序

1 Before Programming Begins

The FPGA should be set to AS x4 mode i.e. MSEL[4…0] = “10010” to use the quad Flash as a FPGA configuration device.
有些FPGA切换到AS模式是通过拨码开关切换的,详看FPGA datasheet.

2 Convert .SOF File to .JIC File

  1. Choose Convert Programming Files from the File menu of Quartus II, as shown in Figure
    在这里插入图片描述
    在这里插入图片描述

2…Select JTAG Indirect Configuration File (.jic) from the Programming file type field in
the dialog of Convert Programming Files.
2. Choose EPCQ256 from the Configuration device field.
3. Choose Active Serial x4 from the Model filed.
4. Browse to the target directory from the File name field and specify the name of output file.
5. Click on the SOF data in the section of Input files to convert, as shown in Figure
在这里插入图片描述
6. Click Add File.
7. Select the .sof to be converted to a .jic file from the Open File dialog.
8. Click Open.
9. Click on the Flash Loader and click Add Device, as shown in Figure 8-3.
10. Click OK and the Select Devices page will appear
11. Select the targeted FPGA to be programed into the EPCQ, as shown in Figure
12. Click OK and the Convert Programming Files page will appear, as shown in Figure 8-5.
13. Click Generate.
在这里插入图片描述
至此.jic文件生成。

3 Write JIC File into the EPCQ Device

  1. Set MSEL[4…0] = “10010”
  2. Choose Programmer from the Tools menu and the Chain.cdf window will appear.
  3. 上电。然后hardware setup找到 设备。Click Auto Detect and then select the correct device. Both FPGA device and HPS should be detected, as shown in Figure .
  4. Double click the red rectangle region shown in Figure 8-6 and the Select New
    Programming File page will appear. Select the .jic file to be programmed.
  5. Program the EPCQ device by clicking the corresponding Program/Configure box. A
    factory default SFL image will be loaded, as shown in Figure 8-7.
  6. Click Start to program the EPCQ device.
    在这里插入图片描述
    在这里插入图片描述
    到现在程序就下载到EPCQ中去了。掉电程序还在。这时候在这种状态下你下载sof文件也没问题,可以先执行你这次的sof.再掉电再上电,配置芯片中的程序还在。

4.Erase the EPCQ Device

  1. Set MSEL[4…0] = “10010”
  2. Choose Programmer from the Tools menu and the Chain.cdf window will appear.
  3. Click Auto Detect, and then select correct device, both FPGA device and HPS will detected.
    (See Figure 8-6)
  4. Double click the green rectangle region shown in Figure 8-6, and the Select New
    Programming File page will appear. Select the correct .jic file.
  5. Erase the EPCQ device by clicking the corresponding Erase box. A factory default SFL image will be loaded
  6. Click Start to erase the EPCQ device.
    在这里插入图片描述
    好了,重启fpga程序就没了。
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值