AN 784: Partial Reconfiguration over PCI Express* Reference Design for Intel® Arria® 10 Devices

ID 683856
Date 9/24/2018
Public
Document Table of Contents

1.5.1. program_fpga_jtag

Use the program_fpga_jtag script to program the entire device (full-chip programming) without any requirement for reboot.

program_fpga_jtag performs the following functions:
  • Uses the Intel® Quartus® Prime Programmer to program the device.
  • Accepts an SRAM Object File (.sof) and configures the target device over a JTAG interface.
  • Communicates with the driver to perform the following functions:
    • Disable upstream AER (advanced error reporting)
    • Save state
    • Restore AER
    • Restore state
Table 6.   program_fpga_jtag Command-Line Options
Option Description
-f=, --file=[<filename>]

Specifies the .sof file name.

-c= ,--cable=[<cable number>]

Specifies the programmer cable.

-i, --index

Specifies the index of the target device in the JTAG chain.

-h, --help

Provides help for program_fpga_jtag script.

Note: Use the following command to the obtain the device index:
/sbin/lspci -d1172:
For example, consider that the command returns the following output:
03:00.0 Class ea00: Altera Corporation Device 5052 (rev 01)
The first value is the device index. Prepend 0000 to this value. In this case, your device index is 0000.03:00.0.