10
LatticeXP2 Advanced
Lattice Semiconductor
Evaluation Board User’s Guide
Table 11. JTAG Programming Headers
Pin
Separate Programming
Chained Programming
Jumper on J49 (None on J45)
Jumper on J45 (None on J49)
J39 Function
J40 Function
J39 Function
J40 Function
1
Vcc (3.3V)
Vcc (3.3V)
Vcc (3.3V)
Not used
2
TDO of ispPAC-POWR1220AT8
TDO of LatticeXP2
TDO of ispPAC-POWR1220AT8
Not used
3
TDI of ispPAC-POWR1220AT8
TDI of LatticeXP2
TDI of LatticeXP2
Not used
4
NC
NC
NC
Not used
5
NC
NC
NC
Not used
6
TMS of both chips
TMS of both chips
TMS of both chips
Not used
7
GND
GND
GND
Not used
8
TCK of ispPAC-POWR1220AT8
TCK of LatticeXP2
TCK of both chips
Not used
9
NC
DONE of LatticeXP2
NC
Not used
10
NC
INITN of LatticeXP2
NC
Not used
J49 and J45 control the functions of the two programming headers. When a jumper is installed on J49, the pro-
gramming header J39 is connected to the JTAG port of ispPAC-POWR1220AT8 and is used for programming the
ispPAC-POWR1220AT8 only; the programming header J40 is connected to the JTAG port of LatticeXP2 and is
used for programming the LatticeXP2 only.
When the jumper is moved from J49 to J45, the JTAG ports of the LatticeXP2 and ispPAC-POWR1220AT8 are
chained together. In this case, the programming header J40 is connected to the JTAG port of the LatticeXP2 first
and then chained with the JTAG port of ispPAC-POWR1220AT8. The programming header J39 should not be used
when the JTAG ports are chained together. During chained programming, the ispPAC-POWR1220AT8 device will
set the HVOUT1 signal (pin 86 of U17) tri-state until programming completes, so the enable for the 3.3V power for
the LatticeXP2 device will be interrupted during programming unless a jumper is installed at J52. After chained pro-
gramming of the ispPAC-POWR1220AT8, the jumper at J52 can be removed.
Additional instructions and recommendations for programming this board are provided in the Configuring/Program-
ming the Board section of this document.
Switches
There are two 8-position switches and six push-button switches for implementing basic static input functions.
Switches SW3, SW4, SW5, SW6, SW7 and SW10 are momentary switches. The pull-up resistors associated with
these switches are wired to 3.3V. Pushing the switches down produces a low (0), otherwise it produces a high (1).
The signals controlled by SW4, SW5, SW6, SW7 and SW10 are debounced by an MC14490 (U15) before connect-
ing to an LatticeXP2 I/O pin. Table 12 shows the control relationship between the switches, LatticeXP2 and ispPAC-
POWR1220AT8 I/O pins.
Table 12. Momentary Switches
Switch
Connection
User-Definable
Debounced
SW3
Pin 97 of ispPAC-POWR1220AT8*
Yes
1
No
SW4
J6 of LatticeXP2 (PROGRAMN)
No
Yes
SW5
E12 of LatticeXP2 (GSRN)
Yes
Yes
SW6
W18 of LatticeXP2
Yes
Yes
SW7
W17 of LatticeXP2
Yes
Yes
SW10
U7 of LatticeXP2
Yes
Yes
1. SW3 signal is also connected (wire-AND) to position#1 of SW2. Therefore, when position#1 of SW2 is in the down position,
SW3 signal (POWR1220AT8 pin 97) will be low even when SW3 is not being pushed.