AN 100: In-System Programmability Guidelines

ID 683546
Date 9/22/2014
Public
Document Table of Contents

1.2.3. Disabling IEEE Std. 1149.1 Circuitry

If your design does not use ISP or boundary-scan test (BST) circuitry, Altera recommends disabling the IEEE Std. 1149.1 circuitry

Table 2.  Disabling IEEE Std.1149.1 Circuitry in MAX Devices
Device Permanently Disabled Enabled for ISP and BST, Disabled During User Mode
Max 10
  • Pull the TMS and TDI signal high
  • Pull the TCK signal low
MAX II Either:
  • Pull the TMS signal high and the TCK signal low
or
  • Pull the TMS signal high before pulling the TCK signal high
MAX V
MAX 9000
MAX 9000A
MAX 7000S Turn off the Enable JTAG BST Support option in the Quartus II software. Either:
  • Pull the TMS signal high and the TCK signal low
or
  • Pull the TMS signal high before pulling the TCK signal high
MAX 7000B
MAX 7000A
MAX 7000AE
MAX 3000A

JTAG Permanently Disabled (MAX 7000S, MAX 7000B, MAX 7000A, MAX 7000AE and MAX 3000A Devices)

You can use MAX 7000S, MAX 7000B, MAX 7000A, MAX 7000AE, and MAX 3000A device JTAG pins as either JTAG ports or I/O pins. You must specify how the pins will be used before compiling your design in the Quartus II software by turning the Enable JTAG BST Support option on or off. When you turn on this option, the pins act as JTAG ports for in-system programming and boundary-scan testing; when you turn off this option, the pins act as I/O pins and you cannot perform in-system programming or boundary-scan testing.

JTAG Permanently Disabled (MAX 10, MAX V, MAX II, MAX 9000 and MAX 9000A Devices)

By default, the JTAG circuitry is always enabled in MAX 10, MAX V, MAX II, MAX 9000, and MAX 9000A devices after power-up. You must enable the JTAG circuitry during ISP and boundary-scan testing, but must be disabled at all times. Therefore, if you do not plan to use the ISP and BST circuitry, you can disable the circuitry through the JTAG pins. To disable JTAG, the JTAG specification instructs you to pull the TMS signal high but does not explain what to do with the TCK signal. Altera recommends pulling the TMS signal high and the TCK signal low. Pulling the TCK signal low ensures that a rising edge does not occur on the TCK signal during the power-up sequence.

You can pull the TCK signal high, but only after you pull the TMS signal high. Pulling the TMS signal high first ensures that the rising edges on the TCK signal do not cause the JTAG state machine to leave the test-logic-reset state.

JTAG Enabled for ISP or BST and Disabled in User Mode

For Altera ISP-capable devices that use JTAG for either in-system programming or boundary-scan testing, you must enable the JTAG circuitry during ISP and BST but must be disabled at all other times. You control JTAG operation through the JTAG pins. To disable the JTAG circuitry on MAX 10, MAX V, MAX II, MAX 9000, and MAX 9000A devices permanently, either pull the TMS signal high and the TCK signal low, or pull the TMS signal high before pulling the TCK signal high.