
Contents
2 Order Number: 329866-002US
Contents
1Introduction .....................................................................................................4
1.1 Terminology ..........................................................................................5
1.2 Related Documents.................................................................................5
2JTAG Interface..................................................................................................7
2.1 SKU-Based JTAG Debug Capability............................................................7
2.2 CLTAPC Instruction Table ........................................................................7
2.3 CLTAPC Data Register Table.....................................................................8
2.3.1 CLIDCODE................................................................................8
2.3.2 CLBYPASS ................................................................................8
2.3.3 CLTAPC_SELECT .......................................................................8
2.3.4 CLTAPC_CPU_VPREQ .................................................................9
2.3.5 CLTAPC_CPU_TAPSTATUS ........................................................10
2.3.6 CLTAPC_CPU_VPRDY ...............................................................10
2.3.7 CLTAPC_TAPNW_STATUS .........................................................10
3Putting It All Together .....................................................................................12
3.1 Initial JTAG Discovery ...........................................................................12
3.2 Check Core Powergood..........................................................................12
3.3 Add Core TAP to the JTAG Chain .............................................................12
3.4 Verify Core IDCODE..............................................................................13
4JTAG Interface................................................................................................14
4.1 TAP Instruction Table............................................................................14
5Run Control....................................................................................................15
5.1 Introduction to Probe Mode....................................................................15
5.2 Probe Mode Entry .................................................................................15
5.3 Probe Mode Exit ...................................................................................16
5.4 Reset Break.........................................................................................16
5.5 TAPSTATUS Register.............................................................................16
5.6 Accessing Architectural Registers ............................................................17
5.6.1 Submitting Instructions to the Core ...........................................17
5.6.1.1 Instruction Faults......................................................17
5.6.2 EIP Management .....................................................................18
5.6.3 DR7 Management....................................................................18
5.6.3.1 EIP and Software Breakpoints.....................................18
5.6.4 WRITEPIR Register Format .......................................................18
5.6.5 Register Read .........................................................................19
5.6.6 Register Write.........................................................................19
5.6.7 Special Cases for Register Access ..............................................19
5.6.7.1 PMCR ......................................................................19
5.6.7.2 Register Access after HLT Instruction Execution ............19
5.6.8 Checking for HALT State...........................................................20
5.6.9 Pseudo Opcodes for Architectural Register Access ........................20
5.6.10 Probe Mode Control Register .....................................................21
5.6.11 Accessing Model Specific Registers (MSR) ...................................22