ARM ARM7TDMI User Manual Page 1

Browse online or download User Manual for Processors ARM ARM7TDMI. ARM7TDMI technical reference manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 284
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - ARM7TDMI

Copyright © 1994-2001. All rights reserved.ARM DDI 0029GARM7TDMI(Rev 3)Technical Reference Manual

Page 2

List of Tablesx Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTable 4-3 Summary of coprocessor signaling ...

Page 3

Memory Interface 3-30 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-21 Typical system timingNote When designing a memory controlle

Page 4

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-313.8 Action of ARM7TDMI core in debug stateWhen the ARM7TDMI core is in

Page 5 - Contents

Memory Interface 3-32 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G3.9 Privileged mode accessARM Limited usually recommends that if only p

Page 6 - Chapter 5 Debug Interface

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-333.10 Reset sequence after power upIt is good practice to reset a static

Page 7 - Appendix B Debug in Depth

Memory Interface 3-34 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 8

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-1Chapter 4 Coprocessor InterfaceThis chapter describes the ARM7TDMI core coprocessor inter

Page 9

Coprocessor Interface 4-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G4.1 About coprocessorsThe ARM7TDMI core instruction set enables you

Page 10 - List of Tables

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-34.1.1 Coprocessor availabilityUp to 16 coprocessors can be referenc

Page 11

Coprocessor Interface 4-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G4.2 Coprocessor interface signalsThe signals used to interface the

Page 12

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-54.3 Pipeline following signalsEvery coprocessor in the system must

Page 13 - List of Figures

List of TablesARM DDI 0029G Copyright © 1994-2001. All rights reserved. xiTable 7-22 APE control timing parameters ...

Page 14

Coprocessor Interface 4-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G4.4 Coprocessor interface handshakingCoprocessor interface handshak

Page 15

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-74.4.2 The ARM7TDMI processorCoprocessor instructions progress down

Page 16

Coprocessor Interface 4-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 4-1 Coprocessor busy-wait sequenceCPA and CPB are ignored by

Page 17 - • Feedback on page xxii

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-9Caution It is essential that any action taken by the coprocessor wh

Page 18 - About this document

Coprocessor Interface 4-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G4.4.6 Coprocessor data operationsCoprocessor data operations, CDP

Page 19 - Preface

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-11Figure 4-4 Coprocessor load sequenceADD SUB LDC n=4 TST SUBADD SUB

Page 20

Coprocessor Interface 4-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G4.5 Connecting coprocessorsA coprocessor in an ARM7TDMI processor

Page 21 - Further reading

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-13Figure 4-6 Coprocessor connections with unidirectional busThe logi

Page 22 - Feedback

Coprocessor Interface 4-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 4-7 Connecting multiple coprocessorsARM coreCoprocessor1Cop

Page 23 - Introduction

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-154.6 If you are not using an external coprocessorIf you are impleme

Page 24 - 1.1 About the ARM7TDMI core

List of Tablesxii Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 25

Coprocessor Interface 4-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G4.7 Undefined instructionsUndefined instructions are treated by th

Page 26

Coprocessor Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 4-174.8 Privileged instructionsThe output signal nTRANS allows the imp

Page 27 - 1.2 Architecture

Coprocessor Interface 4-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 28

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-1Chapter 5 Debug InterfaceThis chapter describes the ARM7TDMI processor debug interface. I

Page 29

Debug Interface 5-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G5.1 About the debug interfaceThe ARM7TDMI processor debug interface is ba

Page 30 - Figure 1-3 Main processor

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-3When the ARM7TDMI processor is in the debug state, the core is clocked by

Page 31

Debug Interface 5-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G5.2 Debug systems Figure 5-1 shows a typical debug system using an ARM co

Page 32 - <reglist>

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-5The ARM7TDMI processor has hardware extensions that ease debugging at the

Page 33

Debug Interface 5-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G5.3 Debug interface signalsThere are three primary external signals assoc

Page 34

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-7Figure 5-3 Debug state entryEntry into debug state on breakpointThe ARM7T

Page 35

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. xiiiList of FiguresARM7TDMI Technical Reference ManualFigure P-1 Key to timing diagram conve

Page 36

Debug Interface 5-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G• An exception occurs, causing the processor to flush the instruction pip

Page 37 - Register

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-95.3.2 Action of the processor in debug stateWhen the ARM7TDMI core enters

Page 38

Debug Interface 5-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G5.4 ARM7TDMI core clock domainsThe ARM7TDMI clocks are described in Cloc

Page 39 - [Rn, #+/-(8bit_Offset*4)]

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-115.4.2 Clock switch during testWhen serial test patterns are being applie

Page 40 - Operand 2

Debug Interface 5-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G5.5 Determining the core and system stateWhen the core is in debug state

Page 41

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-135.6 About EmbeddedICE LogicThe ARM7TDMI processor EmbeddedICE Logic prov

Page 42

Debug Interface 5-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GThe EmbeddedICE Logic comprises:• two real-time watchpoint units• two in

Page 43

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-155.7 Disabling EmbeddedICEThe EmbeddedICE Logic is disabled by setting DB

Page 44

Debug Interface 5-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G5.8 Debug Communications ChannelThe ARM7TDMI processor EmbeddedICE Logic

Page 45

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-17The function of each register bit is as follows:Bits 31:28 Contain a fi

Page 46

List of Figuresxiv Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-11 External bus arrangement ...

Page 47 - Programmer’s Model

Debug Interface 5-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GSending a message to the debuggerWhen the processor has to send a messag

Page 48

Debug Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 5-19• the DCC data write register is empty and available for use.These outpu

Page 49

Debug Interface 5-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 50 - Word at address A

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-1Chapter 6 Instruction Cycle TimingsThis chapter describes the ARM7TDMI processor instruct

Page 51

Instruction Cycle Timings 6-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G• Coprocessor register transfer, store to coprocessor on page 6

Page 52 - 2.4 Data types

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-36.1 About the instruction cycle timing tablesIn the following t

Page 53 - 2.5 Operating modes

Instruction Cycle Timings 6-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.2 Branch and branch with linkA branch instruction calculates

Page 54 - 2.6 Registers

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-56.3 Thumb branch with linkA Thumb Branch with Link operation co

Page 55

Instruction Cycle Timings 6-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.4 Branch and ExchangeA Branch and Exchange (BX) operation tak

Page 56

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-76.5 Data operationsA data operation executes in a single datapa

Page 57

List of FiguresARM DDI 0029G Copyright © 1994-2001. All rights reserved. xvFigure 7-23 APE control timing ...

Page 58

Instruction Cycle Timings 6-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GNote The shifted register operations where the destination is t

Page 59

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-96.6 Multiply and multiply accumulateThe multiply instructions u

Page 60

Instruction Cycle Timings 6-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029Gm+1 pc+12 0 2 - 1 0 1m+2 pc+12 0 2 - 0 1 1pc+12Table 6-7 Multi

Page 61

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-11Note The multiply accumulate, multiply long, and multiply accu

Page 62 - SUBS PC, R14_abt, #4

Instruction Cycle Timings 6-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.7 Load registerThe first cycle of a load register instructio

Page 63 - SUBS PC, R14_abt, #8

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-13Note Operations where the destination is the PC are not availa

Page 64 - SUBS PC,R14_fiq,#4

Instruction Cycle Timings 6-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.8 Store registerThe first cycle of a store register instruct

Page 65 - LDR Rn,[R14_abt,#-8]

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-156.9 Load multiple registersThe first cycle of the LDM instruct

Page 66 - SUBS PC,R14_abt,#8

Instruction Cycle Timings 6-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GSingle register dest=pc 1 pc+2L i 0 (pc+2L) 0 0 02alu 2 0pc’ 1

Page 67 - 0x0000000C

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-176.10 Store multiple registersThe store multiple instruction pr

Page 68 - 0x0000001C

List of Figuresxvi Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 69 - 2.9 Interrupt latencies

Instruction Cycle Timings 6-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.11 Data swapThis is similar to the load and store register i

Page 70 - 2.10 Reset

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-196.12 Software interrupt and exception entryExceptions (includi

Page 71 - Chapter 3

Instruction Cycle Timings 6-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.13 Coprocessor data operationA coprocessor data operation is

Page 72

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-216.14 Coprocessor data transfer from memory to coprocessorFor c

Page 73 - 3.2 Bus interface signals

Instruction Cycle Timings 6-22 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GNote Coprocessor data transfer operations are not available in

Page 74 - 3.3 Bus cycle types

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-236.15 Coprocessor data transfer from coprocessor to memoryThe A

Page 75

Instruction Cycle Timings 6-24 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GNote Coprocessor data transfer operations are not available in

Page 76

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-256.16 Coprocessor register transfer, load from coprocessorThe b

Page 77

Instruction Cycle Timings 6-26 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.17 Coprocessor register transfer, store to coprocessorThis i

Page 78 - Figure 3-4 Internal cycles

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-276.18 Undefined instructions and coprocessor absentWhen the pro

Page 79 - Figure 3-5 Merged IS cycle

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. xviiPrefaceThis preface introduces the ARM7TDMI core and its reference documentation. It con

Page 80

Instruction Cycle Timings 6-28 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6.19 Unexecuted instructionsAny instruction whose condition co

Page 81 - 3.4 Addressing signals

Instruction Cycle Timings ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 6-296.20 Instruction speed summaryDue to the pipelined architectur

Page 82

Instruction Cycle Timings 6-30 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GMULL S+(m+1)I -MLAL S+(m+2)I -CDP S+bI -LDC, STC (n-1)S+2N+bI

Page 83 - 1 Privileged

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-1Chapter 7 AC and DC ParametersThis chapter gives the AC timing parameters of the ARM7TDMI

Page 84 - 3.5 Address timing

AC and DC Parameters 7-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G• Test clock and external clock timing on page 7-21• Memory clock ti

Page 85

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-37.1 Timing diagram informationEach timing diagram in this chapter is

Page 86

AC and DC Parameters 7-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.2 General timingFigure 7-1 shows the ARM7TDMI general timing. The

Page 87 - 3.6 Data timed signals

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-5Note In Figure 7-1 on page 7-4, nWAIT, APE, ALE, and ABE are all HIG

Page 88

AC and DC Parameters 7-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.3 Address bus enable controlFigure 7-2 shows the ARM7TDMI ABE cont

Page 89 - DIN[31:0]

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-77.4 Bidirectional data write cycleFigure 7-3 shows the ARM7TDMI proc

Page 90

Preface xviii Copyright © 1994-2001. All rights reserved. ARM DDI 0029GAbout this documentThis document is a reference manual for the ARM7TDMI core.In

Page 91

AC and DC Parameters 7-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.5 Bidirectional data read cycleFigure 7-4 shows the ARM7TDMI proce

Page 92

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-97.6 Data bus controlFigure 7-5 shows the ARM7TDMI data bus control t

Page 93

AC and DC Parameters 7-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.7 Output 3-state timingFigure 7-6 shows the ARM7TDMI processor ou

Page 94

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-117.8 Unidirectional data write cycle timingFigure 7-7 shows the ARM7

Page 95 - Figure 3-18 Memory access

AC and DC Parameters 7-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.9 Unidirectional data read cycle timingFigure 7-8 shows the ARM7T

Page 96

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-137.10 Configuration pin timingFigure 7-9 shows the ARM7TDMI processo

Page 97

AC and DC Parameters 7-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.11 Coprocessor timingFigure 7-10 shows the ARM7TDMI processor cop

Page 98 - Figure 3-20 Data replication

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-157.12 Exception timingFigure 7-11 shows the ARM7TDMI processor excep

Page 99 - 3.7 Stretching access times

AC and DC Parameters 7-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.13 Synchronous interrupt timingFigure 7-12 shows the ARM7TDMI pro

Page 100 - Memory Interface

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-177.14 Debug timingFigure 7-13 shows the ARM7TDMI processor synchrono

Page 101

Preface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. xixTypographical conventionsThe following typographical conventions are used in this

Page 102 - 3.9 Privileged mode access

AC and DC Parameters 7-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTrghRANGEOUT0, RANGEOUT1 hold time from MCLKf MinimumTrqhDBGRQ guar

Page 103 - Figure 3-22 Reset sequence

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-197.15 Debug communications channel output timingFigure 7-14 shows th

Page 104

AC and DC Parameters 7-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.16 Breakpoint timingFigure 7-15 shows the ARM7TDMI processor sync

Page 105 - Coprocessor Interface

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-217.17 Test clock and external clock timingFigure 7-16 shows the ARM7

Page 106 - 4.1 About coprocessors

AC and DC Parameters 7-22 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.18 Memory clock timingFigure 7-17 shows the ARM7TDMI processor me

Page 107

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-237.19 Boundary scan general timingFigure 7-18 shows the ARM7TDMI pro

Page 108

AC and DC Parameters 7-24 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.20 Reset period timingFigure 7-19 shows the ARM7TDMI reset period

Page 109

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-257.21 Output enable and disable timesFigure 7-20 shows the output en

Page 110 - Table 4-2 Handshaking signals

AC and DC Parameters 7-26 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.22 Address latch enable controlFigure 7-22 shows the ARM7TDMI res

Page 111

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-277.23 Address pipeline control timingFigure 7-23 shows the ARM7TDMI

Page 112

ii Copyright © 1994-2001. All rights reserved. ARM DDI 0029GARM7TDMITechnical Reference ManualCopyright © 1994-2001. All rights reserved.Release Info

Page 113

Preface xx Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTiming diagram conventionsThe key provided in Figure P-1 explains the components u

Page 114

AC and DC Parameters 7-28 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.24 Notes on AC ParametersTable 7-23 lists the AC timing parameter

Page 115

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-29TbrksSet up time of BREAKPT to MCLKr Minimum Figure 7-13TbschTCK hi

Page 116 - Coprocessor

AC and DC Parameters 7-30 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTcpihnCPI hold time from MCLKf Minimum Figure 7-10TcpmsCPA, CPB to

Page 117

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-31TdoutMCLKf to D[31:0] valid Maximum Figure 7-3Figure 7-5TdoutuMCLKf

Page 118

AC and DC Parameters 7-32 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTrghRANGEOUT0, RANGEOUT1 hold time from MCLKf Minimum Figure 7-13Tr

Page 119

AC and DC Parameters ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 7-33TtrstdnTRSTf to every output valid Maximum -TtrstdnTRSTf to TAP out

Page 120 - 4.7 Undefined instructions

AC and DC Parameters 7-34 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G7.25 DC parametersContact your supplier for information on:• operat

Page 121 - 4.8 Privileged instructions

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. A-1Appendix A Signal DescriptionThis appendix lists and describes the signals for the ARM7TD

Page 122

Signal Description A-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GA.1 Signal descriptionThis section describes all of the signals for th

Page 123 - Debug Interface

Signal Description ARM DDI 0029G Copyright © 1994-2001. All rights reserved. A-3A.1.3 Signals Table A-3 lists and describes all of the signals used fo

Page 124 - 5.1 About the debug interface

Preface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. xxiFurther readingThis section lists publications by ARM Limited and third parties.A

Page 125

Signal Description A-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GBL[3:0]Byte latch controlIC The values on the data bus are latched on

Page 126

Signal Description ARM DDI 0029G Copyright © 1994-2001. All rights reserved. A-5CPBCoprocessor busyIC Placed LOW by the coprocessor when it is ready t

Page 127 - TAP controller

Signal Description A-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GDOUT[31:0]Data output busO8 Unidirectional bus used to transfer data f

Page 128 - 5.3 Debug interface signals

Signal Description ARM DDI 0029G Copyright © 1994-2001. All rights reserved. A-7IR[3:0]TAP controller instruction registerO4 Reflects the current inst

Page 129 - Figure 5-3 Debug state entry

Signal Description A-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GnENOUTNot enable outputO4 During a write cycle, this signal is driven

Page 130

Signal Description ARM DDI 0029G Copyright © 1994-2001. All rights reserved. A-9nRESETNot resetIC Used to start the processor from a known address.A L

Page 131

Signal Description A-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GRANGEOUT0EmbeddedICE RANGEOUT0O4 When the EmbeddedICE watchpoint unit

Page 132

Signal Description ARM DDI 0029G Copyright © 1994-2001. All rights reserved. A-11TAPSM[3:0]TAP controller state machineO4 These reflect the current st

Page 133 - MOV PC, #0

Signal Description A-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 134

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-1Appendix B Debug in DepthThis appendix describes the debug features of the ARM7TDMI core

Page 135

Preface xxii Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFeedbackARM Limited welcomes feedback both on the ARM7TDMI core, and on the docu

Page 136

Debug in Depth B-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G• Coupling breakpoints and watchpoints on page B-52• EmbeddedICE timing on

Page 137 - 5.7 Disabling EmbeddedICE

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-3B.1 Scan chains and JTAG interfaceThere are three JTAG-style scan chains w

Page 138

Debug in Depth B-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure B-1 ARM7TDMI core scan chain arrangementsScan chain 0Scan chain 0 e

Page 139 - MRC CP14, 0, Rd, C1, C0, 0

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-5B.1.2 TAP state machineThe process of serial test and debug is best explai

Page 140

Debug in Depth B-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.2 Resetting the TAP controllerThe boundary-scan (JTAG) interface include

Page 141

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-7B.3 Pullup resistorsThe IEEE 1149.1 standard implies that nTRST, TDI, and

Page 142

Debug in Depth B-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.4 Instruction registerThe instruction register is 4 bits in length. Ther

Page 143 - Instruction Cycle Timings

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-9B.5 Public instructionsTable B-1 lists the public instructions.In the foll

Page 144

Debug in Depth B-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GThe EXTEST instruction connects the selected scan chain between TDI and T

Page 145

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-11B.5.5 CLAMP (0101)This instruction connects a 1 bit shift register, the B

Page 146 - SUB PC,R14,#4 to MOV PC,R14

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-1Chapter 1 IntroductionThis chapter introduces the ARM7TDMI core. It contains the followin

Page 147 - 6.3 Thumb branch with link

Debug in Depth B-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.5.8 INTEST (1100)The INTEST instruction places the selected scan chain

Page 148 - 6.4 Branch and Exchange

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-13When the BYPASS instruction is loaded into the instruction register, all

Page 149 - 6.5 Data operations

Debug in Depth B-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.6 Test data registersThere are seven test data registers that can conne

Page 150 - Thumb state

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-15The 32-bit device identification code is loaded into the ID register from

Page 151

Debug in Depth B-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTAPSM[3:0], TCK1, and TCK2.The list of scan chain numbers allocated by AR

Page 152

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-17• SHIFT.For input cells, the capture stage involves copying the value of

Page 153

Debug in Depth B-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G• In SYSTEM mode, the scan cells are idle. System data is applied to inpu

Page 154 - 6.7 Load register

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-19• During UPDATE-DR, the value shifted into the data bus D[31:0] scan cell

Page 155

Debug in Depth B-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GTo access this serial register, scan chain 2 must first be selected using

Page 156 - 6.8 Store register

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-21The following scan chain control signals can also be used for scan chain

Page 157 - 6.9 Load multiple registers

Introduction 1-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G1.1 About the ARM7TDMI coreThe ARM7TDMI core is a member of the ARM family o

Page 158

Debug in Depth B-22 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.7 The ARM7TDMI core clocksThe ARM7TDMI core has two clocks:• the memory

Page 159 - 6.10 Store multiple registers

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-232. At this point, RESTART must be clocked into the TAP instruction regist

Page 160 - 6.11 Data swap

Debug in Depth B-24 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.8 Determining the core and system stateWhen the ARM7TDMI core is in deb

Page 161

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-25The instruction in Example B-1 on page B-24 causes the contents of the re

Page 162

Debug in Depth B-26 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.8.2 Determining system stateTo meet the dynamic timing requirements of

Page 163

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-27Bit 33 of scan chain 1 is used to force the ARM7TDMI core to resynchroniz

Page 164

Debug in Depth B-28 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure B-6 Debug exit sequenceYou can see from Figure 5-3 on page 5-7 tha

Page 165

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-29B.9 Behavior of the program counter during debugThe debugger must keep tr

Page 166

Debug in Depth B-30 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GDebug entry adds four addresses to the PC and every instruction adds one

Page 167

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-310 E1A00000; MOV R0, R01 E1A00000; MOV R0, R00 EAFFFFFA; B -6This code res

Page 168

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-3Figure 1-1 Instruction pipelineDuring normal operation, while one instructio

Page 169

Debug in Depth B-32 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.10 Priorities and exceptionsWhen a breakpoint, or a debug request occur

Page 170 - 6.19 Unexecuted instructions

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-33B.11 Scan chain cell dataThis section provides data for:• Scan chain 0 ce

Page 171

Debug in Depth B-34 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G20 D[19] Input/output21 D[20] Input/output22 D[21] Input/output23 D[22] I

Page 172

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-3545DCTLaOutput46 nRW Output47 DBGACK Output48 CGENDBGACK Output49 nFIQ Inp

Page 173 - AC and DC Parameters

Debug in Depth B-36 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G70 ABE Input71 APE Input72 TBIT Output73 nWAIT Input74 A[31] Output75 A[3

Page 174

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-37B.11.2 Scan chain 1 cellsThe ARM7TDMI core provides data for scan chain 1

Page 175

Debug in Depth B-38 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G6 D[5] Input/output7 D[6] Input/output8 D[7] Input/output9 D[8] Input/out

Page 176 - Figure 7-1 General timing

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-3931 D[30] Input/output32 D[31] Input/output33 BREAKPT InputTable B-4 Scan

Page 177

Debug in Depth B-40 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.12 The watchpoint registersThe two watchpoint units, known as Watchpoin

Page 178

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-41B.12.1 Programming and reading watchpoint registersA watchpoint register

Page 179

Introduction 1-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G1.1.3 Memory interfaceThe ARM7TDMI processor memory interface has been desig

Page 180

Debug in Depth B-42 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GThe data to be written is shifted into the 32-bit data field. The address

Page 181

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-43The bits have the following functions:nRW Compares against the write sig

Page 182 - 7.7 Output 3-state timing

Debug in Depth B-44 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GIn the ARM7TDMI core EmbeddedICE Logic, the RANGEOUT output of Watchpoint

Page 183

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-45B.13 Programming breakpoints Breakpoints are classified as hardware break

Page 184

Debug in Depth B-46 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.13.2 Software breakpointsTo make a watchpoint unit cause software break

Page 185 - 7.10 Configuration pin timing

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-47B.14 Programming watchpointsTo make a watchpoint unit cause watchpoints o

Page 186

Debug in Depth B-48 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.15 The debug control registerThe debug control register is 3 bits wide.

Page 187

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-49In the case of DBGACK, the value of DBGACK from the core is ORed with the

Page 188

Debug in Depth B-50 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.16 The debug status registerThe debug status register is 5 bits wide. I

Page 189

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-51Figure B-11 Debug control and status register structureBit 4Bit 3Bit 2Bit

Page 190

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-51.2 ArchitectureThe ARM7TDMI processor has two instruction sets:• the 32-bit

Page 191

Debug in Depth B-52 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.17 Coupling breakpoints and watchpointsYou can couple watchpoint units

Page 192 - 7.16 Breakpoint timing

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-53The address comparator output of the watchpoint is used to drive the writ

Page 193 - TCK to ECLK delay Maximum

Debug in Depth B-54 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.18 EmbeddedICE timingEmbeddedICE samples the EXTERN[1] and EXTERN[0] in

Page 194

Debug in Depth ARM DDI 0029G Copyright © 1994-2001. All rights reserved. B-55B.19 Programming RestrictionThe EmbeddedICE Logic watchpoint units must o

Page 195

Debug in Depth B-56 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 196 - 7.20 Reset period timing

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. Glossary-1GlossaryThis glossary describes some of the terms used in this manual. Where terms

Page 197

Glossary Glossary-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GBreakpoint A location in the image. If execution reaches this location,

Page 198

Glossary ARM DDI 0029G Copyright © 1994-2001. All rights reserved. Glossary-3IRQ Interrupt request.Joint Test Action Group The name of the organizati

Page 199

Glossary Glossary-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GAlso referred to as Current PSR (CPSR), to emphasize the distinction betw

Page 200 - In Table 7-23:

Glossary ARM DDI 0029G Copyright © 1994-2001. All rights reserved. Glossary-5Status registers See Program Status Register.SP See Stack pointerSWI See

Page 201

Introduction 1-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GThumb therefore offers a long branch range, powerful arithmetic operations,

Page 202

Glossary Glossary-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 203

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. Index-1IndexThe items in this index are listed in alphabetical order, with symbols and numer

Page 204

IndexIndex-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029Gcoprocessor register transfer 3-9internal 3-7merged I-S 3-8nonsequential

Page 205

IndexARM DDI 0029G Copyright © 1994-2001. All rights reserved. Index-3state 3-31status register B-50system sppeed access B-31system state B-24

Page 206 - 7.25 DC parameters

IndexIndex-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GProgram status register format 2-13ProgrammerÕs model 2-2Protocol converter

Page 207 - Signal Description

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-71.3 Block, core, and functional diagramsThe ARM7TDMI processor architecture,

Page 208 - A.1 Signal description

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. iiiConfidentiality StatusThis document is Open Access. This document has no restriction on

Page 209 - A.1.3 Signals

Introduction 1-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 1-3 Main processorScan controlInstructiondecoder andlogic controlInst

Page 210

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-9Figure 1-4 ARM7TDMI processor functional diagram11DIN[31:0]ARM7TDMIMCLKnWAIT

Page 211

Introduction 1-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G1.4 Instruction set summaryThis section provides a description of the instr

Page 212

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-11Refer to the ARM Architectural Reference Manual for more information about

Page 213

Introduction 1-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GNote Some instruction codes are not defined but do not cause the Undefined

Page 214

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-13Multiply unsigned accumulate longUMLAL{cond}{S} RdLo, RdHi, Rm, RsMultiply

Page 215

Introduction 1-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G• Decrement afterLDM{cond}DA Rd{!}, <reglist>{^}• Stack operationLDM{

Page 216

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-15Addressing modesThe addressing modes are procedures shared by different ins

Page 217

Introduction 1-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GImmediate [Rn], #+/-12bit_OffsetRegister [Rn], +/-RmScaled register [Rn], +

Page 218

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-17Mode 3, <a_mode3> Immediate offset[Rn, #+/-8bit_Offset]Pre-indexed [R

Page 219 - Debug in Depth

iv Copyright © 1994-2001. All rights reserved. ARM DDI 0029G

Page 220

Introduction 1-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GOperand 2An operand is the part of the instruction that references data or

Page 221

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-19Condition fieldsCondition fields are listed in Table 1-6.1.4.3 Thumb instru

Page 222 - Scan chain 2

Introduction 1-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 1-6 Thumb instruction set formatsFormatFormatMove shifted registerMo

Page 223 - B.1.2 TAP state machine

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-21The Thumb instruction set summary is listed in Table 1-7. Table 1-7 Thumb i

Page 224

Introduction 1-22 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GEOREOR Rd, RsORORR Rd, RsBit clearBIC Rd, RsMove NOTMVN Rd, RsTest bitsTST

Page 225 - B.3 Pullup resistors

Introduction ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 1-23UnconditionalB labelLong branch with linkBL labelOptional state change -• t

Page 226 - B.4 Instruction register

Introduction 1-24 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GWith register offset -• wordSTR Rd, [Rb, Ro]• halfwordSTRH Rd, [Rb, Ro]• by

Page 227 - B.5 Public instructions

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-1Chapter 2 Programmer’s ModelThis chapter describes the ARM7TDMI core programmer’s model.

Page 228

Programmer’s Model 2-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.1 About the programmer’s modelThe ARM7TDMI processor core implements

Page 229

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-32.2 Processor operating statesThe ARM7TDMI processor has two operating

Page 230

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. vContentsARM7TDMI Technical Reference ManualPrefaceAbout this document ...

Page 231

Programmer’s Model 2-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.3 Memory formatsThe ARM7TDMI processor views memory as a linear coll

Page 232 - B.6 Test data registers

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-52.3.2 Big-EndianIn big-endian format, the ARM7TDMI processor stores th

Page 233

Programmer’s Model 2-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.4 Data typesThe ARM7TDMI processor supports the following data types

Page 234

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-72.5 Operating modesThe ARM7TDMI processor has seven modes of operation

Page 235 - Figure B-4 Input scan cell

Programmer’s Model 2-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.6 RegistersThe ARM7TDMI processor has a total of 37 registers:• 31 g

Page 236

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-9FIQ mode has seven banked registers mapped to r8–r14 (r8_fiq–r14_fiq).

Page 237

Programmer’s Model 2-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.6.2 The Thumb-state register setThe Thumb-state register set is a s

Page 238

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-112.6.3 The relationship between ARM-state and Thumb-state registersThe

Page 239

Programmer’s Model 2-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GNote Registers r0–r7 are known as the low registers. Registers r8–r1

Page 240 - B.7 The ARM7TDMI core clocks

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-132.7 The program status registersThe ARM7TDMI processor contains a CPS

Page 241

Contentsvi Copyright © 1994-2001. All rights reserved. ARM DDI 0029GChapter 3 Memory Interface3.1 About the memory interface ...

Page 242

Programmer’s Model 2-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GAll instructions can execute conditionally in ARM state. In Thumb sta

Page 243

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-15Mode bitsBits M[4:0] determine the processor operating mode as shown

Page 244

Programmer’s Model 2-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.8 ExceptionsExceptions arise whenever the normal flow of a program

Page 245

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-172.8.2 Entering an exceptionThe ARM7TDMI processor handles an exceptio

Page 246 - Internal cycles

Programmer’s Model 2-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GNote Exceptions are always entered in ARM state. When the processor i

Page 247 - SUB PC, PC, #28

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-192.8.5 Interrupt requestThe Interrupt Request (IRQ) exception is a nor

Page 248 - 0 EAFFFFF0; B -16

Programmer’s Model 2-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GPrefetch AbortWhen a Prefetch Abort occurs, the ARM7TDMI processor ma

Page 249 - - (3+N+3S)

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-212.8.7 Software interrupt instructionThe Software Interrupt instructio

Page 250

Programmer’s Model 2-22 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.8.10 Exception prioritiesWhen multiple exceptions arise at the same

Page 251 - B.11 Scan chain cell data

Programmer’s Model ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 2-232.9 Interrupt latenciesThe calculations for maximum and minimum laten

Page 252

ContentsARM DDI 0029G Copyright © 1994-2001. All rights reserved. vii6.14 Coprocessor data transfer from memory to coprocessor ...

Page 253

Programmer’s Model 2-24 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G2.10 ResetWhen the nRESET signal goes LOW a reset occurs, and the ARM

Page 254

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-1Chapter 3 Memory InterfaceThis chapter describes the ARM7TDMI processor memory interface.

Page 255 - B.11.2 Scan chain 1 cells

Memory Interface 3-2 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G3.1 About the memory interfaceThe ARM7TDMI processor has a Von Neumann a

Page 256

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-33.2 Bus interface signalsThe signals in the ARM7TDMI processor bus inter

Page 257 - Number Signal Type

Memory Interface 3-4 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G3.3 Bus cycle types The ARM7TDMI processor bus interface is pipelined. T

Page 258 - B.12 The watchpoint registers

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-5Bus cycle types are encoded on the nMREQ and SEQ signals as listed in Ta

Page 259

Memory Interface 3-6 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-2 Nonsequential memory cycleThe ARM7TDMI processor can perform

Page 260 - 0xFFFFFFFF

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-7The possible burst types are listed in Table 3-2.All accesses in a burst

Page 261

Memory Interface 3-8 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GWhere possible the ARM7TDMI processor broadcasts the address for the nex

Page 262

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-9Figure 3-5 Merged IS cycleNote When designing a memory controller, ensur

Page 263 - B.13 Programming breakpoints

Contentsviii Copyright © 1994-2001. All rights reserved. ARM DDI 0029GB.8 Determining the core and system state ...

Page 264 - 0x00000000

Memory Interface 3-10 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-6 Coprocessor register transfer cycles3.3.6 Summary of ARM mem

Page 265 - B.14 Programming watchpoints

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-113.4 Addressing signalsThe address class signals are:• A[31:0] on page 3

Page 266 - INTDIS DBGRQ DBGACK

Memory Interface 3-12 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GThe address produced by the processor is always a byte address. However

Page 267

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-133.4.5 nTRANSThe nTRANS output conveys information about the transfer. A

Page 268

Memory Interface 3-14 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G3.5 Address timingThe ARM7TDMI processor address bus can operate in one

Page 269

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-15Note The AMBA specification for Advanced High-performance Bus (AHB) and

Page 270

Memory Interface 3-16 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-10 SRAM compatible address timingNote If ALE is to be used to

Page 271

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-173.6 Data timed signalsThis section describes:• D[31:0], DOUT[31:0], and

Page 272 - B.18 EmbeddedICE timing

Memory Interface 3-18 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-12 Bidirectional bus timingUnidirectional data busWhen BUSEN i

Page 273 - B.19 Programming Restriction

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-19Figure 3-14 External connection of unidirectional busesBidirectional da

Page 274

ARM DDI 0029G Copyright © 1994-2001. All rights reserved. ixList of TablesARM7TDMI Technical Reference ManualChange history ...

Page 275 - Glossary

Memory Interface 3-20 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-15 Data write bus cycleFigure 3-16 Data bus control circuitMCL

Page 276

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-21The macrocell has an additional bus control signal, nENIN that allows t

Page 277

Memory Interface 3-22 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GARM7TDMI core test chip example systemConnecting the ARM7TDMI processor

Page 278

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-23Figure 3-17 Test chip data bus circuitNote At the core level, TBE and D

Page 279

Memory Interface 3-24 Copyright © 1994-2001. All rights reserved. ARM DDI 0029G3.6.2 ABORTABORT indicates that a memory transaction failed to complete

Page 280

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-25Because two memory cycles are required, nWAIT is used to stretch the in

Page 281

Memory Interface 3-26 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-19 Two cycle memory access3.6.4 Byte and halfword accessesThe

Page 282

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-27Note For subword reads the value is placed in the ARM register in the l

Page 283

Memory Interface 3-28 Copyright © 1994-2001. All rights reserved. ARM DDI 0029GFigure 3-20 Data replication0A B C D7815162331 24ARMregisterHalf word w

Page 284

Memory Interface ARM DDI 0029G Copyright © 1994-2001. All rights reserved. 3-293.7 Stretching access timesThe ARM7TDMI processor does not contain any

Comments to this Manuals

No comments