ARM ARM7TDMI Manuale Utente

Navigare online o scaricare Manuale Utente per Processori ARM ARM7TDMI. ARM7TDMI technical reference manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 284
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - ARM7TDMI

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

Pagina 2

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

Pagina 3

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

Pagina 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

Pagina 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

Pagina 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

Pagina 7 - Appendix B Debug in Depth

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

Pagina 8

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

Pagina 9

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

Pagina 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

Pagina 11

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

Pagina 12

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

Pagina 13 - List of Figures

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

Pagina 14

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

Pagina 15

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 20

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

Pagina 21 - Further reading

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

Pagina 22 - Feedback

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

Pagina 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

Pagina 24 - 1.1 About the ARM7TDMI core

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

Pagina 25

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

Pagina 26

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

Pagina 27 - 1.2 Architecture

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

Pagina 28

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 33

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

Pagina 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

Pagina 35

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 41

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

Pagina 42

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

Pagina 43

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

Pagina 44

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

Pagina 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

Pagina 46

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

Pagina 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

Pagina 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

Pagina 49

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

Pagina 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

Pagina 51

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 57

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

Pagina 58

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

Pagina 59

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

Pagina 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

Pagina 61

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 67 - 0x0000000C

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

Pagina 68 - 0x0000001C

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

Pagina 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

Pagina 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

Pagina 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

Pagina 72

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

Pagina 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

Pagina 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

Pagina 75

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

Pagina 76

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

Pagina 77

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

Pagina 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

Pagina 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

Pagina 80

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 90

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 101

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 112

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

Pagina 113

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 131

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

Pagina 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

Pagina 133 - MOV PC, #0

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

Pagina 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

Pagina 135

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 168

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

Pagina 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

Pagina 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

Pagina 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

Pagina 172

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 178

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

Pagina 179

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

Pagina 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

Pagina 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

Pagina 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

Pagina 183

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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 190

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

Pagina 191

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

Pagina 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

Pagina 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

Pagina 194

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

Pagina 195

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

Pagina 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

Pagina 197

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

Pagina 198

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

Pagina 199

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

Pagina 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

Pagina 201

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

Pagina 202

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

Pagina 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

Pagina 204

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

Pagina 205

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

Pagina 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

Pagina 207 - Signal Description

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

Pagina 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

Pagina 209 - A.1.3 Signals

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

Pagina 210

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

Pagina 211

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

Pagina 212

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

Pagina 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

Pagina 214

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

Pagina 215

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

Pagina 216

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

Pagina 217

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

Pagina 218

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

Pagina 219 - Debug in Depth

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

Pagina 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

Pagina 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

Pagina 222 - Scan chain 2

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

Pagina 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

Pagina 224

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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 229

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

Pagina 230

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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).

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 241

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 252

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

Pagina 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

Pagina 254

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 259

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

Pagina 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

Pagina 261

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

Pagina 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

Pagina 263 - B.13 Programming breakpoints

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 269

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 274

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

Pagina 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

Pagina 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

Pagina 277

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 283

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

Pagina 284

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

Commenti su questo manuale

Nessun commento