Max ii registers, Jtag chain – Altera Stratix IV GX FPGA User Manual
Page 29
![background image](/files/763773/content/doc029.png)
Chapter 6: Board Test System
6–5
Using the Board Test System
March 2014 Altera Corporation
Stratix IV GX FPGA Development Kit User Guide
■
MAX II ver
—Indicates the version of MAX II code currently running on the board.
The MAX II code resides in the <install
dir>\kits\stratixIVGX_4sgx230_fpga\examples directory. Newer revisions of
this code might be available on
the Altera website.
■
MAC
—Indicates the MAC address of the board.
MAX II Registers
The MAX II registers control allows you to view and change the current MAX II
register values as described in
. Changes to the register values with the GUI
take effect immediately. For example, writing a 0 to SRST resets the board.
■
PSO
—Sets the MAX II PSO register. The following options are available:
■
Use PSR
—Allows the PSR to determine the page of flash memory to use for
FPGA reconfiguration.
■
Use PSS
—Allows the PSS to determine the page of flash memory to use for
FPGA reconfiguration.
■
PSR
—Sets the MAX II PSR register. The numerical values in the list corresponds to
the page of flash memory to load during FPGA reconfiguration. Refer to
for more information.
■
PSS
—Displays the MAX II PSS register value. Refer to
for the list of
available options.
■
SRST
—Resets the system and reloads the FPGA with a design from flash memory
based on the other MAX II register values. Refer to
for more information.
1
Because the Config tab requires that a specific design is running in the FPGA, writing
a 0 to SRST or changing the PSO value can cause the Board Test System to stop
running.
JTAG Chain
The JTAG chain control shows all the devices currently in the JTAG chain. The
Stratix IV GX device is always the first device in the chain.
Table 6–1. MAX II Registers
Register Name
Read/Write
Capability
Description
System Reset
(SRST)
Write only
Set to 0 to initiate an FPGA reconfiguration.
Page Select Register
(PSR)
Read / Write
Determines which of the up to eight (0-7) pages of flash
memory to use for FPGA reconfiguration. The flash memory
ships with pages 0 and 1 preconfigured.
Page Select Override
(PSO)
Read / Write
When set to 0, the value in PSR determines the page of
flash memory to use for FPGA reconfiguration. When set to
1, the value in PSS determines the page of flash memory to
use for FPGA reconfiguration.
Page Select Switch
(PSS)
Read only
■
Holds the current value of the rotary switch (SW2).