Altera Corporation vii
Preliminary
Contents Contents
IEEE Std. 1149.1 Signals ...................................................................................................................... 13–5
TCK Signal ....................................................................................................................................... 13–5
Programming via a Download Cable .......................................................................................... 13–5
Disabling IEEE Std. 1149.1 Circuitry ........................................................................................... 13–6
Working with Different Voltage Levels ...................................................................................... 13–6
Sequential vs. Concurrent Programming ......................................................................................... 13–7
Sequential Programming .............................................................................................................. 13–7
Concurrent Programming ............................................................................................................. 13–7
ISP Troubleshooting Guidelines ........................................................................................................ 13–9
Invalid ID & Unrecognized Device Messages ........................................................................... 13–9
Troubleshooting Tips ................................................................................................................... 13–10
ISP via Embedded Processors .......................................................................................................... 13–11
Processor & Memory Requirements .......................................................................................... 13–11
Porting the Jam Player ................................................................................................................. 13–12
ISP via In-Circuit Testers .................................................................................................................. 13–12
Conclusion .......................................................................................................................................... 13–12
Chapter 14. IEEE 1149.1 (JTAG) Boundary-Scan Testing for MAX II Devices
IEEE Std. 1149.1 BST Architecture .................................................................................................... 14–2
IEEE Std. 1149.1 Boundary-Scan Register ........................................................................................ 14–4
Boundary-Scan Cells of a MAX II Device I/O Pin .................................................................... 14–5
JTAG Pins & Power Pins ............................................................................................................... 14–6
IEEE Std. 1149.1 BST Operation Control .......................................................................................... 14–6
SAMPLE/PRELOAD Instruction Mode ................................................................................... 14–10
EXTEST Instruction Mode .......................................................................................................... 14–13
BYPASS Instruction Mode .......................................................................................................... 14–15
IDCODE Instruction Mode ......................................................................................................... 14–16
USERCODE Instruction Mode ................................................................................................... 14–16
CLAMP Instruction Mode .......................................................................................................... 14–17
HIGHZ Instruction Mode ........................................................................................................... 14–17
I/O Voltage Support in JTAG Chain .............................................................................................. 14–17
Disabling IEEE Std. 1149.1 BST Circuitry ....................................................................................... 14–18
Guidelines for IEEE Std. 1149.1 Boundary-Scan Testing ............................................................. 14–19
Boundary-Scan Description Language (BSDL) Support .............................................................. 14–19
Conclusion .......................................................................................................................................... 14–19
Chapter 15. Using Jam STAPL for ISP via an Embedded Processor
Embedded Systems ............................................................................................................................. 15–1
Connecting the JTAG Chain to the Embedded Processor ........................................................ 15–1
Board Layout ................................................................................................................................... 15–4
Software Development ....................................................................................................................... 15–5
Jam Files (.jam & .jbc) ..................................................................................................................... 15–6
Generating Jam Files ...................................................................................................................... 15–6
Jam Players ...................................................................................................................................... 15–8
Updating Devices Using Jam ........................................................................................................... 15–18
Conclusion .......................................................................................................................................... 15–21