Intel® Stratix® 10 Configuration via Protocol (CvP) Implementation User Guide

ID 683704
Date 7/01/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.2.6. Programming the FPGA using the Base Revision Image

For CvP update mode, you must program the FPGA using the base revision image through any configuration scheme. After programming completes the FPGA enters user mode.

The following steps illustrate CvP update on the base revision image programmed through JTAG mode.

Before you begin:
  • Connect the Intel® FPGA Download Cable II between your PC USB port and the USB port on the Intel® Stratix® 10 FPGA Development Kit.
  • You must install the altera_cvp driver in your DUT PC system. You can download the open source Linux CvP driver from the CvP Driver.
    Note: The Linux driver provided by Intel® is not a production driver.
  • Set the MSEL switches of the Intel® Stratix® 10 FPGA Development Kit to JTAG mode for CvP update operation.

Follow these steps to program and test CvP update functionality:

  1. Plug the Intel® Stratix® 10 FPGA Development Kit into the PCI Express slot of the DUT PC and power it ON. It is recommended to use the ATX power supply that the development kit includes.
  2. Open the Intel® Quartus® Prime Pro Edition software and click Tools > Programmer.
  3. Click Auto Detect to verify that the Intel® FPGA Download Cable II recognizes the Intel® Stratix® 10 FPGA.
  4. Follow these steps to program the base revision .sof file:
    1. Select Stratix 10 device, and then right click None under File column and select Change File.
    2. Navigate to *.sof file generated from the base revision and click Open.
    3. Under Program/Configure column, select the device. For example, 1SG280LU3S1.
    4. Click Start. The progress bar reaches 100% when device configuration is complete. The device is fully configured and in operation.
    5. After the .sof file is programmed, perform the soft reset on the PC.
    6. Once PC has completed soft rebooting, type the following command in a terminal window to make sure the PCIe link is up and running: lspci -vvv -d1172:.
    7. At this time, the FPGA enters into user mode with a functional PCIe link to the DUT PC and you are ready to use the altera_cvp driver to perform the CvP update.
    8. Follow these steps to program the core.rbf:
    9. Type lspci -vvv -d1172: in a terminal window to make sure that you have an active PCIe link.
    10. Program the core.rbf generated from the updated revision by typing the following command:
      dd if= <new core.rbf file> of= /dev/altera_cvp bs=4K
      Sample output:
      <hostname># dd if=top.core.cvpinit.19p3.rbf of=/dev/altera_cvp bs=4K
      981+0 records in
      981+0 records out
      4018176 bytes (4.0 MB) copied, 0.348371 s, 11.5 MB/s