Debug Support
8-8
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
The scan address decode overloads the existing functional decode logic that is used to
access the CP15 registers during
MCR
and
MRC
The decode overload is performed as follows:
Bit [37]
Corresponds to Opcode 1 of an
MCR
or
MRC
instruction.
Bit [36:33]
Correspond to the CRn field of an
MCR
or
MRC
instruction.
Bit [32]
Corresponds to bit 0 of the Opcode 2 field of an
MCR or MRC
instruction.
Bits [2:1]
Of opcode 2 are tied to 00 during debug state.
The debug scan chain, SC15, only allows access to bit[0] of the OpCode2 field by
default. To allow access to the Address and General BIST registers within CP15
Register 15, bits [31:30] of SC15 are overloaded as shown in Table 8-2 on page 8-7.
There are certain restrictions with the overloading; when writing to the BIST General
registers (i.e. writing a new seed), bits[31:30] of the seed are restricted to those values
shown in Table 8-2 on page 8-7. These bits are not used in the BIST Address registers
and so there are no debug restrictions when accessing these registers.
The ability to control the ARM966E-S system state through scan chain 15 provides
extra debug visibility. For example, if the debugger wishes to compare the contents of
an address that maps to the I-SRAM or D-SRAM, with the same address in external
memory, the debugger can:
1.
Load from the address with the SRAM enabled to return the SRAM data.
2.
Disable the SRAM.
3.
Perform the load again. The second load now accesses the AHB because the
SRAM is disabled, returning the value from AHB memory.
1
1 1111 0
11
C15
Write DBIST address
0
1 1111 1
11
C15
Read DBIST general
1
1 1111 1
11
C15
Write DBIST general
Table 8-2 Mapping of scan chain 15 address field to CP15 registers (continued)
Bit [38]
Bits[37:32]
Bits[31:30]
CP15 reg number
Meaning
Summary of Contents for ARM966E-S
Page 6: ...Contents vi Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 20: ...Introduction 1 4 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 48: ...Tightly coupled SRAM 4 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 80: ...Bus Interface Unit 6 20 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 118: ...Debug Support 8 26 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 130: ...Test Support 10 8 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 142: ...Instruction cycle timings 11 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 158: ...Signal Descriptions A 16 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 176: ...AC Parameters B 18 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...