CP15 Test and Debug Registers
ARM DDI0198D
Copyright © 2001-2003 ARM Limited. All rights reserved.
B-5
B.1.3
Trace Control Register
You can access the Trace Control Register by using the following instructions:
MCR p15, 1, <Rd>, c15, c1, 0
; Write Trace Control Register
MRC p15, 1, <Rd>, c15, c1, 0
; Read Trace Control Register
You can use the Trace Control Register to determine under what conditions the
ARM9EJ-S core is stalled when the
FIFOFULL
signal is asserted.
Usually, non-invasive real-time trace requires the presence of an
nFIQ
or
nIRQ
interrupt to prevent the ARM9EJ-S core being stalled by
FIFOFULL
being asserted.
The Trace Control Register enables you to modify this behavior, so that the presence of
an interrupt does not prevent the ARM9EJ-S core being stalled if
FIFOFULL
is
asserted.
Table B-2 shows the bit assignments for the Trace Control Register. Bits [2:1] of this
register are reset to 0.
B.1.4
MMU test operations
The MMU test operations support accessing TLB structures in the MMU and are used
in conjunction with the Debug and Test Address Register.
You can access the MMU test operations using the instructions in Table B-3.
Table B-2 Trace Control Register bit assignments
Bits
Content
[31:3]
Reserved (Should Be Zero)
[2]
1 = FIQ interrupt does not prevent
FIFOFULL
from stalling the ARM9EJ-S core
0 = FIQ interrupt prevents
FIFOFULL
from stalling the ARM9EJ-S core
[1]
1 = IRQ interrupt does not prevent
FIFOFULL
from stalling the ARM9EJ-S core
0 = IRQ interrupt prevents
FIFOFULL
from stalling the ARM9EJ-S core
[0]
Reserved (Should Be Zero)
Table B-3 MMU test operation instructions
Instruction
Operation
MRC p15, 4/5, <Rd>, c15, c2, 0
MCR p15, 4/5, <Rd>, c15, c3, 0
Read tag in main TLB entry
Write tag in main TLB entry
Содержание ARM926EJ-S
Страница 6: ...Contents vi Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 10: ...List of Tables x Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 14: ...List of Figures xiv Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 22: ...Preface xxii Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 28: ...Introduction 1 6 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 96: ...Memory Management Unit 3 32 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 108: ...Caches and Write Buffer 4 12 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 152: ...Bus Interface Unit 6 12 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 156: ...Noncachable Instruction Fetches 7 4 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 176: ...Instruction Memory Barrier 9 6 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 180: ...Embedded Trace Macrocell Support 10 4 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 206: ...Signal Descriptions A 18 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 224: ...CP15 Test and Debug Registers B 18 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...