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semiconductor Corporation
(16Mbit)
[12]
JTAG header
for ispPAC
JTAG header
for XP2
[12]
[12]
[12]
[12]
[12]
[12]
SPI Serial Flash
HVOUT
Power Supplies
TDI
TCK
TCK
TDI
TMS
TDO
J45
TDI
TMS
XP2
FPGA
TDO
When TDISEL=0 (J49 short),
ATDI is selected.
When TDISEL=1 (J49 open),
TDI is selected.
ispPAC
J49
CONFIGURATION (1): J49 short and J45 open (default setting)
J39 => for ispPAC programming only
J40 => for XP2 programming only
CONFIGURATION (2): J49 open, with J45 and J52 short
J39 => for programming both XP2 and ispPAC (JTAG chained together)
J40 => not used
For chaining XP2 and
ispPAC together:
(1) Remove the jumper on J49
and install it on J45.
(2) Connect the download
cable to J39.
TDI
TCK
TMS
J39:
JTAG header
for ispPAC
TDO
VCC
ATDI
TCK
TMS
TDO
TDISEL
J40:
JTAG header
for XP2
VCC
[2,7] [2,7]
[9]
[9]
[9]
[9]
J52
]
1
1
[
]
2
[
[2]
[2]
[2]
[2]
[12]
XP2 SPI
Slave header
[2] [2]
[2] [2]
(nc)
CSSPIN is the master chip select
CSSPISN is the slave chip select
C1
8
5
0.
1uF
0402
C1
8
5
0.
1uF
0402
J4
9
HE
A
D
E
R
2
J4
9
HE
A
D
E
R
2
1
2
J4
5
HE
A
D
E
R
2
J4
5
HE
A
D
E
R
2
1
2
U6
SST
25V
F
016B-
50-
4
C
-S2AF
U6
SST
25V
F
016B-
50-
4
C
-S2AF
/S
1
Q
2
/W
3
VSS
4
VC
C
8
/HO
L
D
7
C
6
D
5
R2
2
7
10K
R2
2
7
10K
C1
8
4
0.
1uF
0402
C1
8
4
0.
1uF
0402
J4
2
HE
A
D
E
R
3
J4
2
HE
A
D
E
R
3
1
2
3
J2
5
CO
N
1
0
J2
5
CO
N
1
0
1
2
3
4
5
6
7
8
9
10
TP
6
TP
6
J4
0
CO
N
1
0
J4
0
CO
N
1
0
1
2
3
4
5
6
7
8
9
10
J4
4
HE
A
D
E
R
3
J4
4
HE
A
D
E
R
3
1
2
3
R2
4
3
10K
R2
4
3
10K
R2
3
3
10K
R2
3
3
10K
J3
9
CO
N
1
0
J3
9
CO
N
1
0
1
2
3
4
5
6
7
8
9
10
R
166
4.
7K
R
166
4.
7K
R1
7
3
1
0
K
R1
7
3
1
0
K
TP
3
TP
3
TP
4
TP
4
R2
4
2
10K
R2
4
2
10K
R2
7
2
4.
7K
R2
7
2
4.
7K
C7
1
0.
1uF
0402
C7
1
0.
1uF
0402
Programming