EasyManua.ls Logo

Altera Cyclone IV - Page 223

Altera Cyclone IV
490 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8: Configuration and Remote System Upgrades in Cyclone IV Devices 8–59
Configuration
May 2013 Altera Corporation Cyclone IV Device Handbook,
Volume 1
ACTIVE_DISENGAGE
The
ACTIVE_DISENGAGE
instruction places the active configuration controller (AS and
AP) into an idle state prior to JTAG programming. The two purposes of placing the
active controller in an idle state are:
To ensure that it is not trying to configure the device during JTAG programming
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 IV device if the
MSEL
pins are set to an AS or AP
configuration scheme. If the
ACTIVE_DISENGAGE
instruction is issued during a passive
configuration scheme (PS or FPP), it has no effect on the Cyclone IV device. Similarly,
the
CONFIG_IO
instruction is issued after an
ACTIVE_DISENGAGE
instruction, but is no
longer required to properly halt configuration. Table 8–17 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.
In the AS or AP configuration scheme, the
ACTIVE_DISENGAGE
instruction puts the
active configuration controller into idle state. If a successful JTAG programming is
executed, the active controller is automatically re-engaged after user mode is reached
through JTAG programming. This causes the active controller to transition to their
respective user mode states.
If JTAG programming fails to get the Cyclone IV device to enter user mode and
re-engage active programming, there are available methods to achieve this:
In 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.
Table 8–17. JTAG Programming Instruction Flows
(1)
JTAG Instruction
Configuration Scheme and Current State of the Cyclone IV Device
Prior to User Mode (Interrupting
Configuration)
User Mode Power Up
PS FPP AS AP PS FPP AS AP PS FPP AS AP
ACTIVE_DISENGAGE
O O R R OOOROORR
CONFIG_IO
Rc Rc O O O O O 0 NA NA NA NA
Other JTAG instructions O O O O O O O 0 O O O 0
JTAG_PROGRAM
R R R R RRRRRRRR
CHECK_STATUS
Rc Rc Rc Rc Rc Rc Rc Rc Rc Rc Rc Rc
JTAG_STARTUP
R R R R RRRRRRRR
JTAG TAP Reset/other
instruction
R R R R RRRRRRRR
Note to Table 8–17:
(1) “R” indicates that the instruction must 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 in this mode.

Table of Contents

Related product manuals