English
Language : 

EP3C40F324C7N Datasheet, PDF (221/274 Pages) Altera Corporation – Chapter Revision Dates
Chapter 9: Configuration, Design Security, and Remote System Upgrades in the Cyclone III Device Family
Configuration Features
9–63
■ To allow the controllers to properly recognize a successful JTAG programming
that results in the device reaching user mode
The ACTIVE_DISENGAGE instruction is required before JTAG programming regardless
of the current state of the Cyclone III device family if the MSEL pins are set to an
active configuration scheme (AS or AP). If the ACTIVE_DISENGAGE instruction is issued
during a passive configuration scheme (PS or FPP), it has no effect on the Cyclone III
device family. Similarly, the CONFIG_IO instruction is issued after an
ACTIVE_DISENGAGE instruction, but is no longer required to properly halt
configuration. Table 9–20 lists the required, recommended, and optional instructions
for each configuration mode. The ordering of the required instructions is a hard
requirement and must be met to ensure functionality.
Table 9–20. JTAG Programming Instruction Flows (1)
Configuration Scheme and Current State of the Cyclone III Device
JTAG Instruction
Prior to User Mode
(Interrupting
Configuration)
User Mode
Power Up
PS
FPP
AS
AP
(2)
PS FPP AS
AP
(2)
PS FPP AS
AP
(2)
FACTORY
NA NA NA NA NA NA NA NA R R R NA
ACTIVE_DISENGAGE
O O R ROOORO O RR
CONFIG_IO
Rc Rc O O O O O O NA NA NA NA
Other JTAG instructions
O O O OOOOOO O OO
JTAG_PROGRAM
R R R RRRRRR R RR
CHECK_STATUS
Rc Rc Rc Rc Rc Rc Rc Rc Rc Rc Rc Rc
JTAG_STARTUP
R R R RRRRRR R RR
JTAG TAP Reset/ other instruction
R R R RRRRRR R RR
Notes to Table 9–20:
(1) “R” indicates that the instruction is required to be executed before the next instruction, “O” indicates the optional instruction, “Rc” indicates
the recommended instruction, and “NA” indicates that the instruction is not allowed to be executed in this mode.
(2) AP configuration is for Cyclone III devices only.
In AS or AP configuration schemes, the ACTIVE_DISENGAGE instruction puts the active
configuration controllers into idle state. If a successful JTAG programming is
executed, the active controllers are automatically re-engaged after user mode is
reached using JTAG programming. This causes the active controllers to transition to
their respective user mode states.
If JTAG programming fails to get the Cyclone III device family to enter user mode and
re-engage active programming, there are available methods to achieve this for the AS
or AP configuration schemes:
■ When in the AS configuration scheme, you can re-engage the AS controller by
moving the JTAG TAP controller to the reset state or by issuing the ACTIVE_ENGAGE
instruction.
■ When in the AP configuration scheme, the only way to re-engage the AP controller
is to issue the ACTIVE_ENGAGE instruction. In this case, asserting the nCONFIG pin
does not re-engage either active controller.
August 2012 Altera Corporation
Cyclone III Device Handbook
Volume 1