Debug Support
5-48
Copyright © 1998, 1999 ARM Limited. All rights reserved.
ARM DDI0145B
5.16
Debug communications channel
The ARM9TDMI EmbeddedICE macrocell contains a communication channel for
passing information between the target and the host debugger. This is implemented as
coprocessor 14.
The communications channel consists of a 32-bit wide comms data read register, a
32-bit wide comms data write register and a 6-bit wide comms control register for
synchronized handshaking between the processor and the asynchronous debugger.
These registers are located in fixed locations in the EmbeddedICE register map (as
shown in Figure 5-9 on page 5-40) and are accessed from the processor via MCR and
MRC instructions to coprocessor 14.
5.16.1
Debug comms channel registers
The debug comms control register is read only, and allows synchronized handshaking
between the processor and the debugger.
Figure 5-15 Debug comms control register
The function of each register bit is described below:
Bits 31:28
Contain a fixed pattern that denotes the EmbeddedICE macrocell version
number, in this case 0010.
Bits 27:2
Unused.
Bit 1
Denotes from the processor’s point of view, whether the comms data
write register is free.
If, from the processor’s point of view, the comms data write register is
free (W=0), new data may be written.
If it is not free (W=1), the processor must poll until W=0.
If, from the debugger’s point of view, W=1, some new data has been
written which may then be scanned out.
Bit 0
Denotes whether there is some new data in the comms data read register.
If, from the processor’s point of view, R=1, there is some new data which
may be read via an MRC instruction.
:
5
Summary of Contents for ARM9TDMI
Page 6: ...Contents vi Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 12: ...Preface xii Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 16: ...Introduction 1 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 22: ...Programmer s Model 2 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 110: ...Test Issues 6 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 154: ...Index Index 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...