ARM ARM7TDMI manuals

Owner’s manuals and user’s guides for Processors ARM ARM7TDMI.
We providing 5 pdf manuals ARM ARM7TDMI for download free by document types: User Manual, Datasheet


Arm ARM7TDMI User Manual (284 pages)


Brand: Arm | Category: Processors | Size: 1.74 MB |

 

Table of contents

ARM7TDMI

1

Contents

5

Chapter 3 Memory Interface

6

Chapter 5 Debug Interface

6

Appendix A Signal Description

7

Appendix B Debug in Depth

7

List of Tables

10

List of Figures

13

• Further reading on page xxi

17

• Feedback on page xxii

17

About this document

18

Preface

19

Further reading

21

Feedback

22

Chapter 1

23

Introduction

23

1.1 About the ARM7TDMI core

24

1.2 Architecture

27

Figure 1-3 Main processor

30

<Oprnd2>

32

#32bit_Imm

32

<reglist>

32

[Rn, #+/-12bit_Offset]

37

[Rn, +/-Rm]

37

Register

37

[Rn, #+/-8bit_Offset]

39

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

39

Operand 2

40

Chapter 2

47

Programmer’s Model

47

31 24 23 16 15 8 7 0

50

Word at address A

50

2.4 Data types

52

2.5 Operating modes

53

2.6 Registers

54

MOV PC, R14

62

MOVS PC, R14_svc

62

MOVS PC, R14_und

62

SUBS PC, R14_abt, #4

62

SUBS PC, R14_fiq, #4

63

SUBS PC, R14_irq, #4

63

SUBS PC, R14_abt, #8

63

SUBS PC,R14_fiq,#4

64

SUBS PC,R14_irq,#4

65

LDR Rn,[R14_abt,#-8]

65

SUBS PC,R14_abt,#4

66

SUBS PC,R14_abt,#8

66

0x00000004

67

0x00000008

67

0x0000000C

67

0x00000010

68

0x00000014

68

0x00000018

68

0x0000001C

68

2.9 Interrupt latencies

69

2.10 Reset

70

Chapter 3

71

3.2 Bus interface signals

73

3.3 Bus cycle types

74

Figure 3-4 Internal cycles

78

Figure 3-5 Merged IS cycle

79

3.4 Addressing signals

81

Table 3-5 nTRANS encoding

83

1 Privileged

83

3.5 Address timing

84

3.6 Data timed signals

87

DOUT[31:0]

89

XDATA[31:0]

89

DIN[31:0]

89

Figure 3-18 Memory access

95

Figure 3-20 Data replication

98

3.7 Stretching access times

99

Memory Interface

100

3.9 Privileged mode access

102

Figure 3-22 Reset sequence

103

Chapter 4

105

Coprocessor Interface

105

4.1 About coprocessors

106

Signal Direction Meaning

110

Table 4-2 Handshaking signals

110

ARM core

116

Coprocessor

116

4.7 Undefined instructions

120

4.8 Privileged instructions

121

Chapter 5

123

Debug Interface

123

5.1 About the debug interface

124

EmbeddedICE

127

Main processor

127

TAP controller

127

5.3 Debug interface signals

128

Figure 5-3 Debug state entry

129

MOV PC, #0

133

5.7 Disabling EmbeddedICE

137

MRC CP14, 0, Rd, C0, C0, 0

139

MCR CP14, 0, Rn, C1, C0, 0

139

MRC CP14, 0, Rd, C1, C0, 0

139

Chapter 6

143

Instruction Cycle Timings

143

SUB PC,R14,#4 to MOV PC,R14

146

6.3 Thumb branch with link

147

6.4 Branch and Exchange

148

6.5 Data operations

149

Thumb state

150

6.7 Load register

154

6.8 Store register

156

6.9 Load multiple registers

157

6.10 Store multiple registers

159

6.11 Data swap

160

6.19 Unexecuted instructions

170

Chapter 7

173

AC and DC Parameters

173

Figure 7-1 General timing

176

7.7 Output 3-state timing

182

7.10 Configuration pin timing

185

7.16 Breakpoint timing

192

TCK to ECLK delay Maximum

193

7.20 Reset period timing

196

In Table 7-23:

200

7.25 DC parameters

206

Appendix A

207

Signal Description

207

A.1 Signal description

208

A.1.3 Signals

209

Appendix B

219

Debug in Depth

219

Scan chain 2

222

B.1.2 TAP state machine

223

B.3 Pullup resistors

225

B.4 Instruction register

226

B.5 Public instructions

227

B.6 Test data registers

232

Figure B-4 Input scan cell

235

B.7 The ARM7TDMI core clocks

240

Internal cycles

246

0 E0802000; ADD R2, R0, R0

247

1 E1826001; ORR R6, R2, R1

247

MOV R0, R0

247

SUB PC, PC, #28

247

0 E1A00000; MOV R0, R0

248

1 E1A00000; MOV R0, R0

248

0 EAFFFFF0; B -16

248

0 EAFFFFFA; B -6

249

- (4+N+3S)

249

- (3+N+3S)

249

B.11 Scan chain cell data

251

B.11.2 Scan chain 1 cells

255

31 D[30] Input/output

257

32 D[31] Input/output

257

33 BREAKPT Input

257

Number Signal Type

257

B.12 The watchpoint registers

258

0xFFFFFFFF

260

B.13 Programming breakpoints

263

0xDEEEDEEE

264

0x00000000

264

B.14 Programming watchpoints

265

INTDIS DBGRQ DBGACK

266

B.18 EmbeddedICE timing

272

B.19 Programming Restriction

273

Glossary

275

Arm ARM7TDMI User Manual (242 pages)


Brand: Arm | Category: Processors | Size: 1.41 MB |

 

Table of contents

ARM7TDMI-S

1

Contents

3

Chapter 3 Memory Interface

4

Chapter 6 ETM Interface

5

Chapter 8 AC Parameters

5

List of Tables

7

List of Figures

10

• Feedback on page xvi

11

About this document

12

Preface

13

Other publications

15

Architecture

15

Feedback

16

Chapter 1

17

Introduction

17

1.2 ARM7TDMI-S architecture

20

Figure 1-3 ARM7TDMI-S core

23

1.4.1 ARM instruction summary

26

[Rn, #+/-12bit_Offset]

29

[Rn, +/-Rm]

29

[Rn, #+/-12bit_Offset]!

29

[Rn, +/-Rm]!

29

, is shown in Table 1-4

30

[Rn, #+/-8bit_Offset]

31

Register

31

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

32

Post-indexed

32

Fields

33

, are shown in Table 1-10

33

Condition fields

33

, are shown in Table 1-11

33

Halfword

36

POP <reglist>

38

POP <reglist, PC>

38

SWI 8bit_Imm

38

0x7F1F0F0F

40

Chapter 2

43

Programmer’s Model

43

2.3 Memory formats

46

2.4 Instruction length

48

2.5 Data types

49

2.6 Operating modes

50

2.7 Registers

51

Table 2-2 PSR mode bit values

59

MOV PC, R14

61

MOVS PC, R14_svc

61

MOVS PC, R14_und

61

SUBS PC, R14_abt, #4

61

SUBS PC, R14_fiq, #4

62

SUBS PC, R14_irq, #4

62

SUBS PC, R14_abt, #8

62

UNPREDICTABLE

62

SUBS PC,R14_fiq,#4

63

SUBS PC,R14_abt,#8

65

MOVS PC,R14_und

65

2.10 Interrupt latencies

68

2.11 Reset

69

Chapter 3

71

Memory Interface

71

3.2 Bus interface signals

73

3.3 Bus cycle types

74

Table 3-2 Burst types

77

Figure 3-5 Merged I-S cycle

79

3.4 Addressing signals

80

3.4.6 CPTBIT

82

3.5 Data timed signals

83

Figure 3-6 Data replication

86

Figure 3-7 Use of CLKEN

87

Chapter 4

89

4.1 About coprocessors

90

Table 4-2 Handshaking signals

94

Signal Direction Meaning

94

4.5 Connecting coprocessors

99

Coprocessor Interface

100

4.7 Undefined instructions

103

4.8 Privileged instructions

104

Chapter 5

105

Debugging Your System

105

5.2 Controlling debugging

109

5.3 Entry into debug state

111

Figure 5-3 Debug state entry

112

ARM7TDMI-Smacrocell

115

5.4 Debug interface

116

EmbeddedICE-RT

118

5.7 Disabling EmbeddedICE-RT

120

5.9 Monitor mode debugging

122

0 RW...100

124

MRC CP14, 0, Rd, C0, C0

125

MCR CP14, 0, Rn, C1, C0

125

MRC CP14, 0, Rd, C1, C0

126

5.12 The TAP controller

130

5.13 Public JTAG instructions

132

011112272831

135

Part number

135

Manufacturer identity 1

135

0x7f1f0f0f

136

5.15 Scan timing

140

31 DATA[30] Input/output

142

32 DATA[31] Input/output

142

33 DBGBREAK Input

142

Number Signal Type

142

5.17 Exit from debug state

146

0 E0802000; ADD R2, R0, R0

148

1 E1826001; ORR R6, R2, R1

148

MOV R0, R0

148

SUB PC, PC, #28

148

- (4 + N + 3S)

150

- (3 + N + 3S)

150

8 67 5 34 2 01

154

5.21 Programming breakpoints

157

0xffffffff

158

0xdfffdfff

158

0x00000000

158

5.22 Programming watchpoints

159

5.23 Abort status register

160

5.24 Debug control register

161

5.25 Debug status register

164

5.27 EmbeddedICE-RT timing

169

Chapter 6

171

ETM Interface

171

6.1 About the ETM interface

172

6.4 Clocks and resets

176

6.5 Debug request wiring

177

Chapter 7

179

Instruction Cycle Timings

179

MOV PC,R14

185

STM..{R14} LDM..{PC}

185

7.4 Thumb branch with link

186

7.5 Branch and exchange

187

7.6 Data operations

188

7.8 Load register

192

7.9 Store register

194

7.10 Load multiple registers

195

7.11 Store multiple registers

197

7.12 Data swap

198

7.20 Unexecuted instructions

208

Chapter 8

209

AC Parameters

209

8.1 Timing diagrams

210

Figure 8-2 Coprocessor timing

212

8.1.4 Debug timing

213

8.1.5 Scan timing

214

Figure 8-5 Scan timing

215

Appendix A

219

Signal Descriptions

219

A.1 Signal descriptions

220

Appendix B

227

ARM7TDMI

227

B.1 Interface signals

228

B.2 ATPG scan interface

232

B.3 Timing parameters

233

ARM926EJ-S User Manual   ARM ARM926EJ-S Product data, 67 pages Cortex-M3 Specifications   ARM Cortex-M3 Specifications, 21 pages Cortex-M3 User's Guide   ARM Cortex-M3 User guide, 137 pages ARM1176JZF-S User Manual   ARM Architecture Overview, 19 pages Cortex-M3 User Manual   Introduction to the Cortex-M3 and v7-M [en] , 41 pages ARM926EJ-S Specifications   ARM ARM926EJ-S Specifications [en] [es] , 332 pages ARM926EJ-S User's Guide   ARM ARM926EJ-S User guide, 402 pages