ETM7 Technical Reference Manual

(Rev 1)


Table of Contents

Preface
About this document
Intended audience
Using this manual
Typographical conventions
Further reading
Feedback
Feedback on the ARM7 Embedded Trace Macrocell (ETM7)
Feedback on this book
1. Introduction
1.1. About the ETM7
2. Accessing ETM7 Registers
2.1. TAP interface
2.2. Programming and reading ETM7 registers
3. Integrating the ETM7
3.1. About integrating the ETM7
3.1.1. ETM port names
3.2. ARM interfacing
3.2.1. ETM7 to ARM7 connection guide
3.2.2. INSTRVALID
3.2.3. Use of bidirectional buses
3.2.4. Coprocessor data bus connections
3.2.5. Coprocessor control connections
3.3. Clocks and resets
3.3.1. CLK and CLKEN
3.3.2. ETM reset
3.3.3. TCK and TCKEN
3.3.4. TAP reset
3.4. TAP interface wiring
3.4.1. IEEE 1149.1 compatibility
3.4.2. Multiprocessor TAP structure
3.5. System control signals
3.5.1. Debug request output wiring
3.5.2. Using the PWRDOWN output
3.5.3. FIFOFULL
3.5.4. Using the process ID signals
3.5.5. Using the system options bus
3.6. Trace port interfacing
3.6.1. Trace port logic
3.6.2. Single-processor tracing
3.6.3. Dual-processor tracing
3.6.4. Trace signal output timing
3.6.5. PCB design guidelines
3.7. Modes of operation of the trace port
3.7.1. Normal trace port signals
3.7.2. Multiplexed trace port signals
3.7.3. Demultiplexed trace port signals
3.7.4. Operation with asynchronous TCK
4. Memory Map Decode Interface
4.1. About the memory map decode interface
4.1.1. Signal descriptions
4.2. Memory map decode example
5. ASIC Trace Validation
5.1. About ASIC trace validation
5.2. Release package structure
5.2.1. Directory structure
5.3. Using the example test bench
5.4. Using the BST
5.5. The test program
5.5.1. Building the example test program
5.5.2. Test program operation
5.6. Modifying your ASIC test bench
5.7. Modifying the test program
5.7.1. Configuring the Makefile
5.7.2. Adapting the test program
5.7.3. ARM instruction and data interfaces
5.7.4. BIGEND
5.7.5. Aborts
5.7.6. Interrupts
5.7.7. ETM outputs
5.7.8. FIFOFULL
5.7.9. PORTSIZE
5.7.10. PORTMODE
5.7.11. PWRDOWN
5.7.12. ETMEN
5.7.13. CLKDIVTWOEN
5.7.14. EXTOUT
5.7.15. EXTIN
5.7.16. Trace port signals
5.7.17. Trace filter testing
5.8. Trace script usage
5.8.1. Decompressor
5.8.2. EIS converter
5.8.3. Trace comparison script
6. Software Considerations for Trace
6.1. Tracing dynamically loaded images
6.1.1. Why dynamically-loaded code requires special hardware and software support
6.1.2. ETM7 Rev 1 hardware support
6.2. Simple overlay support
7. Physical Trace Port Signal Guidelines
7.1. About trace port signal quality
7.2. ASIC pad selection, placement and package type
7.3. PCB design guidelines
7.3.1. Dedicated trace port
7.3.2. Shared trace port
7.4. EMI compliance
7.5. Further references
A. Signal Descriptions
A.1. Signal descriptions
B. Differences between ETM7 versions
B.1. Pin differences
B.2. Changes to the programmer’s model in Rev 1
B.2.1. Process ID
B.2.2. System options
B.2.3. Trace port mode
B.2.4. Instruction tracing on/off
Glossary

Proprietary Notice

ARM, The ARM Powered logo, Thumb, and StrongARM are registered trademarks of ARM Limited.

The ARM logo, AMBA, Angel, ARMulator, EmbeddedICE, ModelGen, Multi-ICE, PrimeCell, ARM7TDMI, ARM7TDMI‑S, ARM9TDMI, ARM9E-S, ARM946E-S, ARM966E-S, ETM7, ETM9, TDMI, and STRONG are trademarks of ARM Limited.

All other products or services mentioned herein may be trademarks of their respective owners.

Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM Limited in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Product Status

The information in this document is final, that is for a developed product.

Revision History
Revision A4 February 2000First release.
Revision B1 September 2000Second release.
Revision C29 May 2001New chapter added containing signal guidelines.
Revision D13 June 2001Error corrected in signal guidelines chapter.
Copyright © 2000, 2001 ARM Limited. All rights reserved.ARM DDI 0158D
Non-Confidential