Debug Interface
5-18
Copyright © 2001, 2004 ARM Limited. All rights reserved.
ARM DDI 0210C
The function of each register bit is as follows:
Bits [31:28]
Contain a fixed pattern that denotes the EmbeddedICE-RT version
number, in this case b0100.
Bits [27:2]
Reserved.
Bit [1]
If this bit is clear, the DCC data write register is ready to accept
data from the processor.
If this bit is set, there is data in the DCC data write register and the
debugger can scan it out.
Bit [0]
If this bit is clear, the DCC data read register is ready to accept
data from the debugger.
If this bit is set, the DCC data read register has data that has not
been read by the processor and the debugger must wait.
Note
If execution is halted, bit [0] might remain asserted. The debugger can clear it by writing
to the DCC control register.
Writing to this register is rarely necessary, because in normal operation the processor
clears bit [0] after reading it.
Use the instructions listed in Table 5-1 to access the DCC registers.
Because the Thumb instruction set does not contain coprocessor instructions, you are
advised to access this data through SWI instructions when in Thumb state.
5.8.2
Communications through the DCC
You can send and receive messages through the DCC. The following sections describe:
•
Sending a message to the debugger
on page 5-19
•
Receiving a message from the debugger
on page 5-19
Table 5-1 DCC register access instructions
Instructions
Explanation
MRC CP14, 0, Rd, C0, C0, 0
Places the value from the DCC control register into the destination register (Rd)
MCR CP14, 0, Rn, C1, C0, 0
Writes the value in the source register (Rn) to the DCC data write register
MRC CP14, 0, Rd, C1, C0, 0
Returns the value in the DCC data read register into Rd
Содержание ARM7TDMI
Страница 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 276: ...Differences Between Rev 3a and Rev 4 C 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Страница 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...