11.12.2012 Views

AN 425: Using Command-Line Jam STAPL Solution for Device - Altera

AN 425: Using Command-Line Jam STAPL Solution for Device - Altera

AN 425: Using Command-Line Jam STAPL Solution for Device - Altera

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Page 4 <strong>Jam</strong> <strong>STAPL</strong> Files<br />

Figure 2 shows the dialog box that specifies (.jbc) file generation <strong>for</strong> a multi-device<br />

JTAG chain in the Quartus II software.<br />

Figure 2. Generating a (.jbc) File <strong>for</strong> a Multi-<strong>Device</strong> JTAG Chain in the Quartus II Software<br />

To generate (.jbc) files using the Quartus II software, you must per<strong>for</strong>m the following<br />

steps:<br />

1. On the Tools menu, click Programmer.<br />

2. Click Add File and select the programming files <strong>for</strong> the respective devices.<br />

3. On the File menu, point to Create/Update and click Create <strong>Jam</strong>, SVF, or ISC File.<br />

4. From the File Format list, select a <strong>Jam</strong> <strong>STAPL</strong> Byte-Code file (Figure 2).<br />

5. Click OK.<br />

You can include both <strong>Altera</strong> and non-<strong>Altera</strong> JTAG-compliant devices in the JTAG<br />

chain. If you do not specify a programming file in the Programming File Names field,<br />

devices in the JTAG chain are bypassed.<br />

1 In the Quartus II Programmer, your programming options are ignored when creating<br />

a multiple device (.jam) or (.jic) file. When you use the generated (.jam) file with the<br />

<strong>Jam</strong> <strong>STAPL</strong> Player, you can then choose which programming options to apply.<br />

However, <strong>for</strong> a multi-device (.jam) file, the programming options that you choose will<br />

apply to all the devices in the chain that have a data file.<br />

List of Supported (.jam) and (.jbc) Actions and Procedures<br />

A JAM <strong>STAPL</strong> file consists of the following two types of statements:<br />

■ Action—Contains a sequence of steps required to implement a complete<br />

operation.<br />

■ Procedure— One of the steps contained in an action statement.<br />

<strong>AN</strong> <strong>425</strong>: <strong>Using</strong> the <strong>Command</strong>-<strong>Line</strong> <strong>Jam</strong> <strong>STAPL</strong> <strong>Solution</strong> <strong>for</strong> <strong>Device</strong> Programming © July 2010 <strong>Altera</strong> Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!