ARM ARM7TDMI Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Procesory ARM ARM7TDMI. ARM7TDMI technical reference manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 284
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - ARM7TDMI

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

Strona 2

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

Strona 3

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

Strona 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

Strona 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

Strona 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

Strona 7 - Appendix B Debug in Depth

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

Strona 8

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

Strona 9

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

Strona 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

Strona 11

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

Strona 12

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

Strona 13 - List of Figures

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

Strona 14

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

Strona 15

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 20

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

Strona 21 - Further reading

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

Strona 22 - Feedback

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

Strona 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

Strona 24 - 1.1 About the ARM7TDMI core

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

Strona 25

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

Strona 26

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

Strona 27 - 1.2 Architecture

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

Strona 28

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 33

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

Strona 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

Strona 35

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 41

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

Strona 42

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

Strona 43

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

Strona 44

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

Strona 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

Strona 46

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

Strona 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

Strona 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

Strona 49

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

Strona 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

Strona 51

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 57

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

Strona 58

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

Strona 59

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

Strona 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

Strona 61

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 67 - 0x0000000C

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

Strona 68 - 0x0000001C

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

Strona 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

Strona 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

Strona 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

Strona 72

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

Strona 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

Strona 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

Strona 75

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

Strona 76

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

Strona 77

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

Strona 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

Strona 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

Strona 80

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 90

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 101

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 112

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

Strona 113

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 131

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

Strona 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

Strona 133 - MOV PC, #0

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

Strona 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

Strona 135

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 168

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

Strona 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

Strona 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

Strona 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

Strona 172

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 178

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

Strona 179

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

Strona 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

Strona 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

Strona 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

Strona 183

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

Strona 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

Strona 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

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

Strona 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

Strona 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

Strona 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

Strona 190

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

Strona 191

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

Strona 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

Strona 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

Strona 194

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

Strona 195

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

Strona 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

Strona 197

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

Strona 198

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

Strona 199

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

Strona 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

Strona 201

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

Strona 202

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

Strona 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

Strona 204

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

Strona 205

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

Strona 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

Strona 207 - Signal Description

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

Strona 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

Strona 209 - A.1.3 Signals

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

Strona 210

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

Strona 211

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

Strona 212

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

Strona 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

Strona 214

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

Strona 215

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

Strona 216

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

Strona 217

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

Strona 218

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

Strona 219 - Debug in Depth

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

Strona 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

Strona 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

Strona 222 - Scan chain 2

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

Strona 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

Strona 224

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

Strona 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

Strona 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

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

Strona 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

Strona 229

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

Strona 230

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 241

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 252

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

Strona 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

Strona 254

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 259

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

Strona 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

Strona 261

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

Strona 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

Strona 263 - B.13 Programming breakpoints

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 269

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 274

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

Strona 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

Strona 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

Strona 277

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 283

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

Strona 284

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

Komentarze do niniejszej Instrukcji

Brak uwag