Debug Support
8-20
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
Figure 8-8 Debug communications channel status register
The function of each register bit is described here:
Bits 31:28
Contain a fixed pattern that denotes the EmbeddedICE-RT version
number (in this case 0011).
Bits 27:2
Are reserved.
Bit 1
Denotes whether the communications data write register is available
(from the viewpoint of the processor).
If, from the viewpoint of the processor, the communications data write
register is free (W=0), new data can be written.
If the register is not free (W=1), the processor must poll until W=0.
From the viewpoint of the debugger, when W=1, new data is written that
can be scanned out.
Bit 0
Denotes whether there is new data in the communications data read
register.
If, from the viewpoint of the processor, R=1, there is some new data that
can be read using an
MRC
instruction.
From the viewpoint of the debugger, if R=0, the communications data
read register is free, and new data can be placed there through the scan
chain. If R=1, this denotes that data previously placed there through the
scan chain is not collected by the processor, and so the debugger must
wait.
From the viewpoint of the debugger, the registers are accessed using the scan chain in
the usual way. From the viewpoint of the processor, these registers are accessed using
coprocessor register transfer instructions.
You must use the following instructions:
MRC p14, 0, Rd, c0, c0
This returns the debug communications control register into Rd.
MCR p14, 0, Rn, c1, c0
This writes the value in Rn to the communications data write
register.
MRC p14, 0, Rd, c1, c0
This returns the debug data read register into Rd.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 W R
Содержание ARM966E-S
Страница 6: ...Contents vi Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 20: ...Introduction 1 4 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 48: ...Tightly coupled SRAM 4 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 80: ...Bus Interface Unit 6 20 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 118: ...Debug Support 8 26 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 130: ...Test Support 10 8 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 142: ...Instruction cycle timings 11 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 158: ...Signal Descriptions A 16 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Страница 176: ...AC Parameters B 18 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...