AN 425: Using the Command-Line Jam™ STAPL Solution for Device Programming

ID 683089
Date 10/14/2024
Public
Document Table of Contents

1.2.1. Generating Byte-Code Jam™ STAPL Files

The Quartus® Prime software can generate .jam and .jbc files. You can also compile a .jam into a .jbc with the stand-alone Jam™ STAPL Byte-Code Compiler. The compiler produces a .jbc that is functionally equivalent to the .jam.

The Quartus® Prime software tools support programming and configuration of multiple devices from single or multiple .jbc files. You can include Altera and non-Altera JTAG-compliant devices in the JTAG chain. If you do not specify a programming file in the Programming File Names field, devices in the JTAG chain are bypassed.

Figure 1. Multi-Device JTAG Chain and Sequence Configuration in Quartus® Prime Programmer


Note: If you convert JTAG chain files to .jam, the Quartus® Prime Programmer options that you select for other devices in the JTAG chain are not programmed into the new .jam. The Quartus® Prime Programmer ignores your programming options while you are creating a multi-device .jam or JTAG Indirect Configuration (.jic) file. However, you can choose the programming options to apply to the device when you use the Jam™ STAPL Player with the generated .jam. For a multi-device .jam, the programming options you choose are applied to each device that has a data file in the JTAG chain.
  1. On the Quartus® Prime menu, select Tools > Programmer.
  2. Click Add File and select the programming files for the respective devices.
  3. On the Quartus® Prime Programmer menu, select File > Create/Update > Create Jam, SVF, or ISC File.
  4. In the File Format list, select a .jbc format.
    Figure 2. Generating a .jbc for a Multi-Device JTAG Chain in the Quartus® Prime Software


  5. Click OK.