Professional Documents
Culture Documents
1 Supplement
Proprietary notice
This ARM Architecture Reference Manual is protected by copyright and the practice or implementation of the
information herein may be protected by one or more patents or pending applications. No part of this ARM
Architecture Reference Manual may be reproduced in any form by any means without the express prior written
permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property
rights is granted by this ARM Architecture Reference Manual.
Your access to the information in this ARM Architecture Reference Manual is conditional upon your acceptance
that you will not use or permit others to use the information for the purposes of determining whether
implementations of the ARM architecture infringe any third party patents.
This ARM Architecture Reference Manual is provided “as is”. ARM makes no representations or warranties,
either express or implied, included but not limited to, warranties of merchantability, fitness for a particular
purpose, or non-infringement, that the content of this ARM Architecture Reference Manual is suitable for any
particular purpose or that any practice or implementation of the contents of the ARM Architecture Reference
Manual will not infringe any third party patents, copyrights, trade secrets, or other rights.
This ARM Architecture Reference Manual may include technical inaccuracies or typographical errors.
To the extent not prohibited by law, in no event will ARM be liable for any damages, including without limitation
any direct loss, lost revenue, lost profits or data, special, indirect, consequential, incidental or punitive damages,
however caused and regardless of the theory of liability, arising out of or related to any furnishing, practicing,
modifying or any use of this ARM Architecture Reference Manual, even if ARM has been advised of the
possibility of such damages.
Words and logos marked with ® or TM are registered trademarks or trademarks of ARM Limited, except as
otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the
trademarks of their respective owners.
Copyright © 2009 ARM Limited
110 Fulbourn Road Cambridge, England CB1 9NJ
Restricted Rights Legend: Use, duplication or disclosure by the United States Government is subject to the
restrictions set forth in DFARS 252.227-7013 (c)(1)(ii) and FAR 52.227-19.
This document is Non-Confidential but any disclosure by you is subject to you providing notice to and
the acceptance by the recipient of, the conditions set out above.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 1 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Contents
2.2 Erratum: ADIv5 gives wrong IDCODE value for SW-DPs (451413) ........................................................ 8
2.5 Erratum: JTAG-DP and SW-DP responses when Sticky Overrun Detect is enabled (604567) ............. 8
2.6 Erratum: Host must drive the Park bit HIGH (618567)............................................................................ 9
2.7 Erratum: Line reset does not have to be detected asynchronously (625117)....................................... 9
2.9 Erratum: FAULT and WAIT responses to DLCR reads in SW-DP (628066) ..........................................10
2.10 Erratum: Use of DP RDBUFF by Serial Wire debug ports (DE 643221) ............................................10
2.12 Clarification: UNPREDICTABLE use of transaction counter and transaction mode (414544)...............10
2.16 Clarification: ReadResult following IDCODE and ABORT scans (DE 618570) .................................12
2.17 Clarification: Unaligned access to Banked Data registers (DE 643218) ...........................................12
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 2 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
3.8 Required support of Memory Access Port (MEM-AP) packed transfers ..............................................16
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 3 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 4 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
1.1 References
This document refers to the following documents.
Doc No Author Title
ARM DDI 0211 ARM ARM1136JF-S™ and ARM1136J-S™ Technical Reference Manual*
ARM DDI 0314 ARM CoreSight™ Components Technical Reference Manual*
ARM DDI 0406 ARM ARM® Architecture Reference Manual ARM®v7-A and ARM®v7-R edition*
ARM IHI 0011 ARM AMBA™ Specification (Rev 2.0) *
ARM IHI 0024 ARM AMBA™ 3 APB Protocol Specification*
®
ARM IHI 0031 ARM ARM Debug Interface v5 Architecture Specification*
®
ARM IHI 0033 ARM AMBA 3 AHB-Lite Protocol Specification*
IEEE 1149.1-2001 IEEE IEEE Standard Test Access Port and Boundary Scan Architecture
* These documents can be accessed through the ARM website at http://infocenter.arm.com/. For further
information, contact ARM Limited.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 5 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Note
In the ARM® Debug Interface v5 Architecture Specification, UNPREDICTABLE was also used to mean an
UNKNOWN value.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 6 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
1.3 Introduction
This document is an update to the ARM® Debug Interface v5 Architecture Specification. It includes errata and
new features for ADIv5.
Those new features represent a minor revision of the architecture specification, and hence the architecture
version number is v5.1. The new features are backwards compatible with v5.0; the version documented by the
ARM® Debug Interface v5 Architecture Specification. The terms ARM Debug Interface v5 and ADIv5 refer to the
major revision of ADI, that is, to v5.0, v5.1 or any future minor revision of ADIv5.
Section 2, ADIv5.0 Errata and Clarifications, starting on page 8, describes each of the errata and clarifications in
turn.
Section 3, ADIv5.1 Updates, starting on page 13, describes each of the new features in turn.
Sections 4, 5, 6, and 7 give more detailed information for some of the errata, clarifications and updates.
The final sections are new appendices to the ARM® Debug Interface v5 Architecture Specification. The
information provided is not architectural and hence not part of ADIv5, but is nevertheless useful reference material
for implementations and users of ADIv5.
Section 8, Appendix: Serial Wire Protocol starting on page 42 provides more background information on the Serial
Wire protocol that is required for compatibility with Serial Wire protocol implementations. The Serial Wire protocol
was previously described in the CoreSight™ Components Technical Reference Manual.
Section 9, Appendix: Standard Memory Access Port Definitions starting on page 45 provides reference material
for standard implementations of Memory Access Ports.
Section 10, Appendix: Cross-over with the ARM® Architecture starting on page 47 provides detail of how the
ADIv5 specification should be used when selecting or implementing Debug Access Ports for each of a variety of
®
ARM architecture variants.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 7 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
2.1 Introduction
This section corrects errata in the ARM® Debug Interface v5 Architecture Specification, and also provides some
clarifications where the ARM® Debug Interface v5 Architecture Specification might be ambiguous.
Please use the six-digit reference number provided in each section in any related correspondence with ARM
Limited.
2.2 Erratum: ADIv5 gives wrong IDCODE value for SW-DPs (451413)
The ARM® Debug Interface v5 Architecture Specification gives the required value for the Part Number field,
PARTNO: IDCODE[27:12], for an ARM implementation of a Serial Wire Debug Port (SW-DP) as 0xBA10. The
correct value for current ARM implementations of Serial Wire protocol version 1 is 0xBA01.
In this manual, the SW-DP IDCODE register is renamed DPIDR. See Debug Port architecture versions on
page 13. Also see Serial Wire Protocol Version 2 on page 40.
2.5 Erratum: JTAG-DP and SW-DP responses when Sticky Overrun Detect
is enabled (604567)
Section 3.1.2 of the ARM® Debug Interface v5 Architecture Specification states that when Sticky Overrun Detect
is enabled in the Debug Port CTRL/STAT register, the only permitted responses to transactions are OK/FAULT on
the JTAG-DP and OK on the SW-DP.
These responses should be described not as “permitted responses”, as this implies is that they are the only
responses generated in this state. However, the section goes on to correctly describe that when other responses
are generated, the STICKYORUN flag is set. That is, all responses can be generated in overrun detection mode.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 8 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
That is, in overrun detection mode, the Sticky Overrun flag STICKYORUN in the Debug Port (DP) Control/Status
register is set to 1 if the response to any transaction is other than:
• OK/FAULT on the JTAG-DP
• OK on the SW-DP.
As the JTAG-DP and SW-DP protocols differ, the exact behavior is DATA LINK DEFINED:
For JTAG-DP:
The response is WAIT so long as the previous Access Port (AP) transaction remains not completed, and
OK/FAULT thereafter. This is correctly described in the section Sticky overrun behavior on DPACC and
APACC accesses in section 4.4.3 of the ARM® Debug Interface v5 Architecture Specification.
For SW-DP:
The first response to a transaction when a previous AP transaction has not completed is WAIT. Following
responses will be FAULT, since the STICKYORUN bit is set to 1. This is correctly described in the
section 5.4.5 of the ARM® Debug Interface v5 Architecture Specification.
Furthermore, when Sticky Overrun Detect is enabled, the STICKYORUN bit is also set to 1:
— when the DP issues a FAULT response
— following a protocol error.
2.6 Erratum: Host must drive the Park bit HIGH (618567)
Section 5.3.1 of the ARM® Debug Interface v5 Architecture Specification states that the host does not drive the
line for the Park bit of Serial Wire protocol, instead relying on the line being pulled HIGH by the Serial Wire
interface.
The host must in fact actively drive the line HIGH to park it before tri-stating the line for the turnaround period. This
ensures the line is HIGH and is read as HIGH by the target. This is required as the pull-up on the Serial Wire
interface is weak.
Section 5.4.6 of the ARM® Debug Interface v5 Architecture Specification further implies that a protocol error only
occurs on incorrect parity in a command header. The target will in fact signal protocol error if any of the Parity,
Stop or Park bits is not driven with the correct value.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 9 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
However, section 5.4.4 of the ARM® Debug Interface v5 Architecture Specification states that a SW-DP must not
issue a FAULT response to an access to the IDCODE, CTRL/STAT or ABORT registers. The implication that this
includes writes to CTRL/STAT is incorrect. An SW-DP must only not issue a FAULT response for:
• reads of the IDCODE register (the IDCODE register is read-only)
• writes to the ABORT register (the ABORT register is write-only)
• reads of CTRL/STAT.
2.9 Erratum: FAULT and WAIT responses to DLCR reads in SW-DP (628066)
Sections 5.4.3 and 5.4.4 of the ARM® Debug Interface v5 Architecture Specification list the SW-DP register
accesses that must never return WAIT or FAULT responses.
However, Table 5-1 implies that reads of DLCR (formerly known as the WCR) will also return a result immediately
and never respond with FAULT. This is incorrect. Reads of DLCR return a FAULT response if a sticky error flag is
set.
Whether reads of a DLCR return a WAIT response if the AP is not ready is IMPLEMENTATION DEFINED. From Debug
Port (DP) architecture version 2, reads of DLCR return a WAIT response if the AP is not ready.
2.10 Erratum: Use of DP RDBUFF by Serial Wire debug ports (DE 643221)
Sections 5.4.2 and 6.2.5 of the ARM® Debug Interface v5 Architecture Specification states that, for SW-DP, to
obtain the result of an AP register read the next access must be either a second AP register read or a read of the
DP Read Buffer (RDBUFF) register.
This is incorrect. To allow the debugger to recover from line errors, the next transaction after an AP register read
can be any DP register read. If the next transaction is a DP register read other than a read of RDBUFF then a
following AP register read or read of RDBUFF will return the result of the first AP register read.
However, if the next transaction following an AP register read is an AP register write or a DP register write then
the result of the first AP register read is effectively lost, as any following AP register read or read of RDBUFF will
return an UNKNOWN value.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 10 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Table 1 lists the register accesses defined by the ARM Debug Interface v5 to:
• be UNPREDICTABLE when the TRNCNT field is not zero
• set the STICKYCMP flag to an UNKNOWN value when the TRNMODE field is not zero.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 11 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
This is ambiguous, since the WAIT response is generated by the DP and is the DP’s mechanism to not accept a
new transaction. Section 6.2.1 should state that, following a DAP abort:
• An AP access to the AP that was aborted might not be accepted by the DP, with the DP returning a WAIT
response.
• A DP access or an AP access to any other AP will be accepted by the DP. This includes AP accesses to
non-existent APs, which are defined to behave as RAZ/WI.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 12 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
3 ADIV5.1 UPDATES
3.1 Introduction
This section describes the main changes in ADIv5 between version 5.0 and version 5.1.
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
JEP-106
Revision continuation JEP-106 identity code Class AP identification
code
0 1 0 0 0 1 1 1 0 1 1
Revision, JEP-106 continuation code, and JEP-106 identity code, bits [31:17]
Unchanged. The codes for ARM Limited are shown. See the ARM® Debug Interface v5 Architecture
Specification.
Class, bits [16:13]
This field defines the class of Access Port. An Access Port belongs to a class if it follows a programmer’s
model defined as part of the ADIv5 specification or extensions to it.
Table 2 lists the Access Port classes defined by the ADIv5 specification. All other values are reserved.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 13 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Class Description
0b0000 No defined class
0b1000 Memory Access Port.
See Chapter 11 of the ARM® Debug Interface v5 Architecture Specification.
Table 2: Class field values
Bits [12:8]
Reserved, must-be-zero. This field is reserved for future ID register fields. If a debugger reads a non-zero
value in this field, it must treat the AP as unidentifiable.
AP identification, bits [7:0]
Access Port Identification. This field identifies the AP implementation. Each AP designer must maintain
their own list of implementations and associated Identification codes.
In an AP implementation by ARM Limited this field is sub-divided as bits [7:4] Variant, bits [3:0] Type.
Table 3 lists the possible values of the Type field for an AP designed by ARM Limited. The Variant field is
used to identify different implementations of the same Type.
Note
The ARM® Debug Interface v5 Architecture Specification required this designation of Variant and Type
for all ARM designed APs. In ADIv5.1, this interpretation of the AP Identification field is restricted.
ARM Limited will only assign IDR[3:0] values 0x0, 0x1 and 0x2 in a manner backwards compatible with
ADIv5. However, for all other IDR[3:0] values, the Type interpretation only applies for MEM-APs.
The AP Identification field must be unique for each Access Port designed by a given designer,
regardless of the value of IDR.Class.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 14 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 15 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
ADIv5.0 ADIv5.1
Access Port architecture Debug Port
architecture “JTAG-DP”
version 0 JTAG protocol
“JTAG-AP” Debug Port
JTAG interoperability
access extensions
Debug Port “SW-DP” Serial JTAG “MINDP” Serial Wire/
Component “MEM-AP” AP ID architecture Wire protocol protocol Minimal DP JTAG
discovery Memory
access model version 1 (version 1) extension switching
Standard Updated Dormant
MEM-AP AP ID mode
definitions model Debug Port Serial Wire JTAG Minimal DP
architecture protocol protocol extension
version 2 (version 2)
Figure 3: Scope of ADIv5.0 and ADIv5.1 and the architecture components defined by each
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 16 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
These signals are expected to provide hints to the system power/clock controller. The following sections describe
these signal pairs in turn.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 17 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 18 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
JTAG-DP always implements a JTAG TAP ID Register, which is not related to the Debug Port architecture
version.
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 1 0 0 0 1 1 1 0 1 1
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 19 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
• bits [31:1] of the ABORT register are reserved, SBZ and bit [0] SBO on writes.
Note
Debug Port architecture version 0 is the DP architecture defined for JTAG-DP in the ARM® Debug Interface v5
Architecture Specification.
The DP must implement an ABORT register. In DP architecture version 0, how this register is accessed is DATA
LINK DEFINED. In JTAG-DP this is implemented through the ABORT instruction.
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
TRNCNT MASKLANE
CDBGRSTREQ WDATAERR
CDBGRSTACK READOK
CDBGPWRUPREQ STICKYERR
CDBGPWRUPACK STICKYCMP
CSYSPWRUPREQ TRNCMODE
CSYSPWRUPACK STICKYORUN
ORUNDETECT
Bits [31:8,3:2,0]
See the ARM® Debug Interface v5 Architecture Specification.
WDATAERR, bit [7] and READOK, bit [6]
Support for these bits is DATA LINK DEFINED:
— for JTAG-DP these bits are reserved, RAZ/WI.
DP architecture version 0 only supports JTAG-DP.
STICKYERR, bit [5], STICKYCMP, bit [4] and STICKYORUN, bit [1]
These bits are defined as R/W1C. For a definition of these bits, see the ARM® Debug Interface v5
Architecture Specification.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 20 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
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
APSEL APBANKSEL
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
DAPABORT
Bits [31:1]
Reserved, SBZ.
DAPABORT, bit [0]
SBO. This bit must be written as 1. See the ARM® Debug Interface v5 Architecture Specification.
Note
For JTAG-DP, the ABORT register is written from bits [34:3] of the data register scan-chain selected by the
ABORT instruction. Writing a value other than 0x000000008 to the ABORT scan-chain gives UNPREDICTABLE
results.
For more details on the ABORT scan-chain see the ARM® Debug Interface v5 Architecture Specification
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 21 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Note
Debug Port architecture version 1 is the DP architecture defined for SW-DP in the ARM® Debug Interface v5
Architecture Specification.
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
MIN 0 1 0 0 0 1 1 1 0 1 1
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 22 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Note
JTAG-DP implementations of architecture version 1 are required to also implement the IDCODE instruction and
IDCODE scan-chain. The architecture does not require that the DPIDR value and JTAG IDCODE value are the
same. The JTAG IDCODE value identifies the JTAG-DP TAP and its designer. See The JTAG TAP ID Register,
IDCODE on page 19.
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
ORUNERRCLR
WDERRCLR
STKERRCLR
STKCMPCLR
DAPABORT
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 23 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Bits [31:5]
Reserved, SBZ.
ORUNERRCLR, WDERRCLR, STKERRCLR, STKCMPCLR, and DAPABORT, bits [4:0]
See the ARM® Debug Interface v5 Architecture Specification.
34 8 7 6 5 4 3 2 1 0
Capture-DR UNKNOWN
ORUNERRCLR RnW
WDERRCLR
STKERRCLR
STKCMPCLR
DAPABORT
Note
For JTAG-DP, the ABORT register is written from bits [34:3] of the data register scan-chain selected by the
ABORT instruction. As in DP architecture version 0, this scan-chain returns an UNKNOWN value on Capture-DR,
and at Update-DR bits [2:0] are SBZ.
In DP architecture version 0, bits [34:4] of the scan-chain are SBZ and bit [3] is SBO, since ABORT[31:1] is SBZ
and ABORT[0] is SBO. Bits [2:0] of the scan-chain are SBZ.
In DP architecture version 1, bits [34:8] are SBZ and no bits are SBO, since ABORT[31:5] is SBZ and ABORT[4:0]
are as defined above.
For more details on the ABORT scan-chain see the ARM® Debug Interface v5 Architecture Specification.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 24 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
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
APSEL APBANKSEL
DPBANKSEL
Note
In the ARM® Debug Interface v5 Architecture Specification DPBANKSEL is named CTRLSEL.
Bits [23:8,3:1]
Reserved, UNK/SBZP.
The reset value of the SELECT register is UNKNOWN. Tools must initialize SELECT before accessing any AP
registers or registers affected by DPBANKSEL.
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
TRNCNT MASKLANE
CDBGRSTREQ WDATAERR
CDBGRSTACK READOK
CDBGPWRUPREQ STICKYERR
CDBGPWRUPACK STICKYCMP
CSYSPWRUPREQ TRNCMODE
CSYSPWRUPACK STICKYORUN
ORUNDETECT
Bits [31:24:2,0]
See the ARM® Debug Interface v5 Architecture Specification.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 25 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 26 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
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
MIN 0 1 0 0 0 1 1 1 0 1 1
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 27 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
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
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
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 28 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Note
The ARM Limited JEP-106 value is not shown for this field. Although ARM Limited might design a DP
containing the TARGETID register, the designer of part is typically another designer who takes that DP
and creates a part around it.
If the designer of the part is ARM Limited, then the value of this field is 0x23B.
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
Figure 16: Data Link Protocol Identification Register bit assignments, Serial Wire protocol
Note
A Serial Wire Debug Port which implements DP architecture version 2 must implement at least Serial
Wire protocol version 2.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 29 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
6.1.1 Structure
The SWJ-DP logically consists of a wrapper around the JTAG-DP and SW-DP. Its function is to select JTAG or
Serial Wire as the Data Link protocol and enable either JTAG-DP or SW-DP as the interface to the DAP.
Figure 17 below shows such a logical arrangement.
Notes
• There is no requirement to implement an SWJ-DP as separate JTAG-DP and SW-DP blocks with such a
wrapper.
• The JTAG-DP and SW-DP programmers’ models do not have to implement the same Debug Port
architecture version. See Debug Port Architecture Versions on page 19.
6.1.2 Operation
SWJ-DP enables an Application Specific Integrated Circuit (ASIC) to be designed which can be used in systems
that require either a JTAG interface or a Serial Wire interface. There is a trade-off between the number of pins
used and compatibility with existing hardware and test equipment.
There are several scenarios where the use of a JTAG debug interface must be maintained, including:
• to enable inclusion in an existing scan chain, generally on-chip TAPs used for test or other purposes.
• to enable the device to be cascaded with legacy devices which use JTAG for debug; although this can
also be supported using a JTAG Access Port (JTAG-AP)
• to enable use of existing debug hardware with the corresponding test TAPs, for example, in Automatic
Test Equipment (ATE).
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 30 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
An ASIC fitted with SWJ-DP support can be connected to legacy JTAG equipment without any requirement to
make changes. If a Serial Wire tool is available then only two pins are required, instead of the usual four used for
JTAG. Two pins are therefore released for alternative functions.
These two pins can only be used when there is no conflict with their use in JTAG operation. In addition, to support
use of SWJ-DP in a scan chain with other JTAG devices, the default state after reset must be to use these pins for
their JTAG operation. However, if the direction of the alternative function is compatible with being driven by a
JTAG debug device, the transition of the JTAG TAP to the Shift-DR or Shift-IR state can be used to transition
these pins from their alternative function to JTAG operation.
The alternate function cannot be used while the ASIC is being used in JTAG operation.
The switching scheme is arranged so that, provided there is no conflict on the TDI and TDO pins, a JTAG
debugger is able to connect by sending a specific sequence.
The connection sequence used for Serial Wire is safe when applied to the JTAG interface, even if hot-plugged,
enabling the debugger to continually retry its access sequence. A sequence with TMS HIGH ensures that all parts
of the SWJ-DP are in a known reset state. The pattern used to select Serial Wire has no effect on JTAG devices.
SWJ-DP is compatible with a free-running TCK, or a gated clock which is supplied by the external tools.
Notes
• When Serial Wire protocol is being used, the JTAG pins TDI, TDO and nTRST are expected to be re-
used.
• An SWJ-DP can be implemented in a package where the JTAG pins TDI, TDO and nTRST are not
connected. The SWJ-DP is designed to allow selection of Serial Wire protocol without using these JTAG
pins.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 31 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Having detected a switching sequence, SWJ-DP does not detect further sequences until after a reset condition. If
JTAG is selected, the JTAG TAP state machine being in the Test-Logic-Reset state is the reset condition. If Serial
Wire is selected, a line reset is the reset condition.
Figure 18 is a simplified state diagram that shows how SWJ-DP transitions between selected, detecting, and
selection states.
initial state
SWD-to-JTAG
sequence
JTAG-Sel complete SW-Sel
TLR detecting
sequence
JTAG-DP in TLR
mismatch
sequence
line reset
mismatch
JTAG-Sel SW-Sel
detecting JTAG-to-SWD reset
sequence
complete
Note on Figure 18
The JTAG-to-SWD and SWD-to-JTAG sequences are shown terminating in the SW-Sel reset and JTAG-Sel TLR
states respectively. The recommended sequences end with a reset sequence for the selected state, to ensure the
target is in the relevant reset state.
SWCLKTCK
SWDIOTMS
0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1
at least 50 clocks at least 50 clocks
with SWDIOTMS JTAG-to-SWD sequence with SWDIOTMS
HIGH HIGH
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 32 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
This sequence has been chosen to ensure that the SWJ-DP switches to using Serial Wire whether it was
previously expecting JTAG or Serial Wire. As long as the 50 cycles with SWDIOTMS HIGH sequence is sent first,
the JTAG-to-SWD select sequence is benign to SW-DP, and is also benign to Serial Wire and JTAG protocols
used in the SWJ-DP, and any other TAP controllers that might be connected to SWDIOTMS.
Note
On selecting Serial Wire operation, the Serial Wire interface is in a reset state. See Line reset on page 43. To
leave the reset state, the debugger must read the DP DPIDR register.
SWCLKTCK
SWDIOTMS
0 0 1 1 1 1 0 0 1 1 1 0 0 1 1 1
at least 50 clocks at least 5 clocks
with SWDIOTMS SWD-to-JTAG sequence with SWDIOTMS
HIGH HIGH
This sequence has been chosen to ensure that the SWJ-DP switches to using JTAG whether it was previously
expecting JTAG or Serial Wire. If the SWDIOTMS HIGH sequence is sent first, the SWD-to-JTAG select
sequence is benign to SW-DP, and is also benign to Serial Wire and JTAG protocols used in the SWJ-DP, and
any other TAP controllers that might be connected to SWDIOTMS.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 33 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Selection of Dormant state is possible when either JTAG or Serial Wire operation is selected. Figure 21 extends
the state diagram of Figure 18 on page 32 to include selection of Dormant state.
initial state
SWD-to-JTAG
sequence
complete
JTAG-Sel (deprecated) SW-Sel
TLR detecting
JTAG-to-DS
sequence SWD-to-DS
sequence complete Dormant sequence
complete line reset
mismatch
JTAG-Sel SW-Sel
detecting JTAG-to-SWD reset
sequence
complete
(deprecated)
Figure 21: Selection of JTAG, Serial Wire and Dormant states (full SWJ-DP)
Notes on Figure 21
• Following the DS-to-JTAG activation code, the JTAG TAP is in either the Test-Logic-Reset state or Run-
Test/Idle state, and hence this state machine is in either the JTAG-Sel TLR state or the JTAG-Sel
selected state. Normally, the TAP state returned to is the TAP state left from. However, it is also possible
to reset the JTAG TAP state machine when JTAG is not the selected protocol.
ARM recommends the DS-to-JTAG sequence is followed by a single clock with SWDIOTMS LOW to
ensure the TAP is in the Run-Test/Idle state.
• The DS-to-SWD sequence is shown terminating in the SW-Sel reset state. The recommended sequence
ends with a line reset to ensure the target is in the reset state.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 34 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
SWCLK
SWDIO
TDO
TDO
TMS
TMS
TCK
TCK
TDI
TDI
wrapper wrapper
TMS
TCK
TDI
TDO
TDO
SWDIO
SWCLK
SWCLK
Data
Clock
TDI
SWDIO
Other SWJ-DP SWJ-DP
protocol (multi-drop) (multi-drop)
Figure 22: Multiple JTAG, SW, SWJ (multi-drop) and other protocol devices on shared connection
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 35 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
The sequence also uses the ZBS count, which is defined as follows:
• The ZBS count is unlocked and reset to zero if the TAP state machine enters either the Select-IR-Scan or
Test-Logic-Reset state. This includes asynchronously entering Test-Logic-Reset following assertion of
nTRST. At reset, the ZBS count is unlocked and reset to zero.
• On entering Update-DR at the end of a ZBS scan, if the ZBS count is unlocked and less than seven, it is
incremented by one.
• The counter does not increment past seven. On entering Update-DR at the end of a ZBS scan, if the ZBS
count is unlocked and equal to seven, it is not incremented. The count does not wrap to zero.
• The ZBS count is locked if the TAP state machine enters the Shift-DR state and the ZBS count is not
zero.
The JTAG-to-DS sequence is defined as any sequence of TAP state machine transitions that terminates in the
Run-Test/Idle state with a locked ZBS count of six. On entering Run-Test/Idle, the target is placed into Dormant
state.
The behavior of the target on entering Run-Test/Idle with other locked ZBS counts is IMPLEMENTATION DEFINED.
Although the recommended JTAG-to-DS sequence starts by placing the JTAG TAP state machine in the Test-
Logic-Reset state, this is not a requirement for recognizing the JTAG-to-DS sequence. Tools must, however,
ensure the Instruction Register (IR) is loaded with either the BYPASS or IDCODE instruction before placing the
target into the Dormant state. If the IR is not loaded with either of these instructions when the target is put into
Dormant state, the behavior is UNPREDICTABLE.
The pseudocode function EnterDormantState describes the function of the JTAG-to-DS sequence detector. It is
notionally called on every TAP state machine transition. The function’s argument is the state being entered, and
the function’s result is a Boolean indicating whether Dormant state should be entered.
For details of the pseudocode language, see the ARM® Architecture Reference Manual ARM®v7-A and
ARM®v7-R edition.
enumeration TAPState {
TestLogicReset, RunTestIdle,
SelectDRScan, CaptureDR, ShiftDR, Exit1DR, PauseDR, Exit2DR, UpdateDR,
SelectIRScan, CaptureIR, ShiftIR, Exit1IR, PauseIR, Exit2IR, UpdateIR};
boolean shiftDRflag = FALSE;
integer ZBScount = 0;
boolean ZBSlocked = FALSE;
// EnterDormantState
// =================
boolean EnterDormantState(TAPState state)
case state of
when CaptureDR: shiftDRflag = FALSE;
when ShiftDR:
shiftDRflag = TRUE;
if ZBScount != 0 then ZBSlocked = TRUE;
when UpdateDR:
if !ZBSlocked && !shiftDRflag && ZBScount < 7 then
ZBScount = ZBScount + 1;
when SelectIRScan, TestLogicReset:
ZBScount = 0; ZBSlocked = FALSE;
return (state == RunTestIdle && ZBSlocked && ZBScount == 6);
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 36 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Note
If the JTAG-to-DS sequence is terminated by a entering the Test-Logic-Reset state, an SWJ-DP can immediately
detect a JTAG-to-SWD sequence.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 37 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
SWCLKTCK
SWDIOTMS
0 1 0 0 1 0 ... 0 1 1 0 0 0 (0) (0) (0) (0) ...
4 cycles with
At least 8 cycles with Activation Selected
Selection Alert sequence (128 cycles) SWDIOTMS
SWDIOTMS HIGH code technology
LOW
Note
The Selection Alert sequence can be generated by implementing a Linear Feedback Shift Register (LFSR)
implementing feedback on bits 6, 5, 3 and 0, starting in the state 0b1001001 and shifting out one bit from bit 0
each cycle. The sequence starts with a zero start bit and continues with the output of the LFSR.
Selection
Alert
1 0 0 1 0 0 1 sequence
The value of the activation code depends on whether Serial Wire and or JTAG operation is to be requested.
Table 10 defines the recommended activation codes a debugger should use for JTAG devices, SW-DP devices
and SWJ-DP devices. These sequences are sent MSB first.
Devices activated
Protocol
Activation code Value (MSB first) Other ADIv5 Debug Ports
selected
JTAG JTAG SW SWJ
JTAG-Serial 0b0000_0000_0000 Yes Yes No Yes JTAG
ARM CoreSight Serial Wire 0b0101_1000 No No Yes Yes Serial Wire
ARM CoreSight JTAG-DP 0b0101_0000 No Yes No Yes JTAG
Table 10: Activation codes
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 38 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
x
JTAG TAP
reset 1 xxxxxxxx xxxxxxxx xxxxxxxx G2
(see text) 1
D2 F2
<128-bit-seq> xxxx 00x0 00x x 1
Dormant A B C E 0 1
0 x 0
other D1 F1
0101 xxxx
x
ARM CoreSight 0
activation codes G1 JTAG-Sel
Each of the bit-strings shown in Figure 27 are received MSB first. The transition out of state G2 requires a reset of
the JTAG TAP, but otherwise returns to Dormant state. For more information on this sequence, contact ARM.
ARM recommends that debuggers use the activation code sequence shown in Table 10.
Note
ADIv5 does not define any other activation codes, but also does not prohibit an implementation from recognizing
other activation codes for compatibility with other standards. Implementations may also use alternative selection
alert mechanisms. Debuggers can generate multiple selection alert sequences to alert multiple devices, and then
use the common activation codes to select which devices to activate.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 39 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
7.2.2 Auto-detection
It is not possible to interrogate a multi-drop Serial Wire system to establish which devices are connected – no
communication with a device is possible without prior selection of that target using its target ID. Therefore
connection to a multi-drop Serial Wire system requires that either:
• The host is configured with knowledge of the devices in the system before connection.
• The host attempts auto-detection by issuing a target select command for each of the devices it has been
configured to support. While this is likely to involve a large number of target select commands, it should
be possible to iterate through all the supported devices in a reasonable time from the point of view of a
human user of the debug tools.
The practical implications of this restriction are that debug tools will not be able to seamlessly connect to targets in
a multi-drop Serial Wire system that they have never seen before. However, if the debug tools can be provided
with the target ID of such targets by the user then the contents of the target can be auto-detected as normal.
This limitation allows for significant savings in design complexity.
Note
A line reset will cause the STICKYORUN flag in the DP CTRL/STAT register to be set to 1 if overrun detection is
enabled, that is, if the ORUNDETECT bit is set to 1. The host must not switch targets when the ORUNDETECT bit
is set to 1.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 40 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
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
For a description of these fields, see The Target Identification Register, TARGETID on page 28 and The Data Link
Protocol Identification Register, DLPIDR on page 29.
Writing the value with all bits set deselects all targets. Writing any other value with bits [11:8] set to 0b1111 or
0b0000, or with bit [0] set to 0b0 is UNPREDICTABLE.
Accesses to TARGETSEL are treated differently to accesses to other DP registers. For more information see
Target selection protocol on page 40.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 41 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
8.1 Introduction
This section describes the synchronous Serial Wire protocol.
Serial Wire operates with a synchronous serial interface. This uses a single bidirectional data signal, and a clock
signal.
8.2 Clocking
The Serial Wire interface clock can be asynchronous to any system clock, including the debug logic clock. The
Serial Wire interface clock can be stopped when the debug port is idle.
The host must continue to clock the interface for a number of cycles after the data phase of transactions. This
ensures that the transaction can be clocked through the Serial Wire interface. This means that after the data
phase of transactions the host must do one of the following:
• immediately start a new transaction
• continue to clock the Serial Wire interface until the host starts a new transaction, inserting idle cycles
• after clocking out the data parity bit, continue to clock the Serial Wire interface inserting idle cycles until it
has clocked out at least 8 more clock rising edges, before stopping the clock.
See also Idle cycles on page 43.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 42 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
Note
A small current drains from the target whenever the line is driven LOW. If the interface is left connected for
extended periods when the target has to use a low power mode, the line must be held HIGH, or reset, by the host
until the interface is activated.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 43 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
SW CLKTCK
SWDIOTMS
1 0 1 0 0 1 0 1
at least
APnDP
A[2:3]
Parity
RnW
Start
Stop
Park
at least 50 clocks with one
SWDIOTMS HIGH Idle
cycle
A line reset is required when first connecting to the target. A line reset is also required following an error. See
Protocol errors on page 43.
When waiting for a packet header, if the Serial Wire interface detects a sequence of 50 clock cycles with the data
signal held HIGH followed by at least one idle cycle, it must enter the reset state. It is IMPLEMENTATION DEFINED
whether a sequence of 50 clock cycles with the data signal held HIGH detected at any other time causes the
interface to enter the reset state.
The interface also enters reset state following a Serial Wire select sequence, as defined by Multiple Protocol
Interoperability on page 30.
The only valid transactions in reset state are:
• A read of the DP DPIDR register. This takes the connection out of reset state.
• One of the switching sequences defined by Multiple Protocol Interoperability on page 30.
• A write to the DP TARGETSEL register. If this selects the target, the interface remains in reset state.
Note
Only writes to TARGETSEL immediately after entry to the reset state can select or deselect the target.
See Target selection protocol on page 40 .
Any of these sequences can be aborted by a second line reset. The behavior of the target is UNPREDICTABLE if any
other transaction is made in reset state.
If the host does not see an expected response from reading the DPIDR register, it must retry the reset sequence.
This is because the interface may have been in a state where, for example, it treated the initial line reset as a data
phase of a transaction and so did not detect it as a valid line reset. If this is the case, the interface will have
detected the line reset as a protocol error and require a second line reset to correctly respond.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 44 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
9.1 Introduction
The Memory Access Port (MEM-AP) programmer’s model contains some IMPLEMENTATION DEFINED features. This
appendix provides reference implementation options for implementers and users of MEM-APs when connecting to
standard memory interfaces. In particular, it provides the recommended interpretations of the Prot, AddrInc,
SPIDEN and Size fields of the CSW register.
Note
AMBA AHB does not support Security Extensions.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 45 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 46 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
10.1 Introduction
The ARM Debug Interface v5 is the recommended external debug interface for ARMv6-M and all ARMv7
architecture profiles. This section describes the recommended or required options for each variant.
When designing with ARM Cortex™ processor cores and ARM CoreSight™ Design Kits, the choice of Debug
Access Port (DAP) features might be at the discretion of the system designer. ARM recommends that system
designers choose a DAP that implements all the recommended features for all ARM architecture processors
contained in the design.
ADIv5 might also be used with other architecture variants. For example, an ADIv5 JTAG Access Port (JTAG-AP)
might be used to access a Debug Test Access Port (DBGTAP), as defined by ARM Debug Interface v4 (ADIv4)
for ARMv6 architecture processors.
10.2 ARMv6-M
ARMv6-M requires an ADIv5-compliant DAP.
ARM recommends that the Debug Port (DP) implements the Serial Wire interface, either through a SW-DP or
SWJ-DP. A JTAG-DP is permitted. ARM recommends that the DP implements the MINDP model.
There must be one MEM-AP per processor. That MEM-AP must be capable of addressing the complete memory
space visible to the processor, including all debug peripherals and the NVIC. The MEM-AP must support byte,
half-word and word accesses to memory. The MEM-AP is not required to support the packed increment transfer
mode.
Other Access Ports (APs) may be connected to the DAP.
10.3 ARMv7-M
ARMv7-M requires an ADIv5-compliant DAP.
ARM recommends that the DP implements the Serial Wire interface, either through a SW-DP or SWJ-DP. A
JTAG-DP is permitted. ARM recommends that the DP does not implement the MINDP model.
There must be one MEM-AP per processor. That MEM-AP must be capable of addressing the complete memory
space visible to the processor, including all debug peripherals and the NVIC. The MEM-AP must support byte,
half-word and word accesses to memory. ARM recommends that the MEM-AP does support the packed
increment transfer mode.
Other APs may be connected to the DAP.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 47 of 48
ARM® Debug Interface v5 Architecture Specification ADIv5.1 Supplement
MEM-AP that can access the complete memory space supports byte, half-word and word accesses to memory.
ARM recommends that this MEM-AP does support the packed increment transfer mode.
Other APs may also be connected to the DAP.
10.5 Summary
Table 12 summarizes the recommended and required elements of an ADIv5 implementation for each of the ARM
architecture variants for which ADIv5 is the required or recommended DAP.
DSA09-PRDC-008772 1.0 Copyright © 2007-2009 ARM Limited. All rights reserved. Page 48 of 48