Debug Support
ARM DDI0145B
Copyright © 1998, 1999 ARM Limited. All rights reserved.
5-21
The currently selected scan chain only changes when a SCAN_N instruction is
executed, or a reset occurs. On reset, scan chain 3 is selected as the active scan chain.
The number of the currently selected scan chain is reflected on the
SCREG[4:0]
output
bus. The TAP controller may be used to drive external scan chains in addition to those
within the ARM9TDMI macrocell. The external scan chain must be assigned a number
and control signals for it, and can be derived from
SCREG[4:0]
,
IR[3:0]
,
TAPSM[3:0]
,
TCK1
and
TCK2
.
The list of scan chain numbers allocated by ARM are shown in Table 5-3. An external
scan chain may take any other number. The serial data stream applied to the external
scan chain is made present on
SDIN
. The serial data back from the scan chain must be
presented to the TAP controller on the
SDOUTBS
input.
The scan chain present between
SDIN
and
SDOUTBS
will be connected between
TDI
and
TDO
whenever scan chain 3 is selected, or when any of the unassigned scan chain
numbers is selected. If there is more than one external scan chain, a multiplexor must
be built externally to apply the desired scan chain output to
SDOUTBS
. The
multiplexor can be controlled by decoding
SCREG[4:0]
.
Table 5-3 Scan chain number allocation
Scan chain number
Function
0
Macrocell scan test
1
Debug
2
EmbeddedICE macrocell programming
3
External boundary scan
4–15
Reserved
16–31
Unassigned
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 ...