Intel® Quartus® Prime Pro Edition User Guide: Programmer

ID 683039
Date 4/03/2023
Public
Document Table of Contents

3.10. Scripting Support

In addition to the Intel® Quartus® Prime Programmer GUI, you can access programmer functionality from the command line and from scripts with the Intel® Quartus® Prime command-line executable quartus_pgm.exe (or quartus_pgm in Linux).

The following command programs a device from a Microsoft* Windows* command line:

quartus_pgm –c usbblasterII –m jtag –o bpv;design.pof

Where:

-c usbblasterII
specifies the Intel® FPGA Download Cable II
-m jtag
specifies the JTAG programming mode
-o bpv
represents the blank-check, program, and verify operations
design.pof
represents the .pof containing the design logic

The Programmer automatically executes the erase operation before programming the device.

In a Linux* terminal terminal window, use:
quartus_pgm –c usbblasterII –m jtag –o bpv\;design.pof
The following examples shows how to erase flash memory that is connected to the FPGA through an active serial interface from a Microsoft* Windows* command line:
quartus_pgm -c usbblasterII -m jtag -o ri;design.jic@1

Where:

-c usbblasterII
specifies the Intel® FPGA Download Cable II
-m jtag
specifies the JTAG programming mode
-o ri
represents the serial flash loader program and erase operations
design.jic
represents the JTAG indirect configuration file (.jic)
@1
specifies the device number in the JTAG chain on which these operations are performed
In a Linux* terminal terminal window, use:
quartus_pgm -c usbblasterII -m jtag -o ri\;design.jic@1