Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CS 220 / ARM / ARM7TDMI_TechnicalReferenceManual.pdf
Скачиваний:
40
Добавлен:
16.04.2015
Размер:
1.63 Mб
Скачать

ARM7TDMI

(Rev 3)

Technical Reference Manual

Copyright © 1994-2001. All rights reserved.

ARM DDI 0029G

ARM7TDMI

Technical Reference Manual

Copyright © 1994-2001. All rights reserved.

Release Information

Change history

Date

Issue

Change

 

 

 

October 1994

A

Released.

 

 

 

December 1994

B

First formal release.

 

 

 

December 1994

C

Review comments added.

 

 

 

March 1995

D

Technical changes.

 

 

 

August 1995

E

Review comments added.

 

 

 

November 2000

F

SGML, new layout, new title, incorporation of errata, and technical changes.

 

 

 

April 2001

G

Addition of timing parameters and editorial changes.

 

 

 

Proprietary Notice

Words and logos marked with ® or are registered trademarks or trademarks owned by ARM Limited. Other brands and names mentioned herein may be the trademarks of their respective owners.

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

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

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

Figure B-2 on page B-5 reprinted with permission IEEE Std 1149.1-1990. IEEE Standard Test Access Port and Boundary Scan Architecture Copyright 1994-2001, by IEEE. The IEEE disclaims any responsibility or liability resulting from the placement and use in the described manner.

Confidentiality Status

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

ii

Copyright © 1994-2001. All rights reserved.

ARM DDI 0029G

Product Status

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

Web Address

http://www.arm.com

ARM DDI 0029G

Copyright © 1994-2001. All rights reserved.

iii

iv

Copyright © 1994-2001. All rights reserved.

ARM DDI 0029G

Contents

ARM7TDMI Technical Reference Manual

Preface

 

 

About this document ..................................................................................

xviii

 

 

Further reading ............................................................................................

xxi

 

 

Feedback ....................................................................................................

xxii

Chapter 1

Introduction

 

 

1.1

About the ARM7TDMI core .........................................................................

1-2

 

1.2

Architecture .................................................................................................

1-4

 

1.3

Block, core, and functional diagrams ..........................................................

1-6

 

1.4

Instruction set summary ..............................................................................

1-9

Chapter 2

Programmer’s Model

 

 

2.1

About the programmer’s model ...................................................................

2-2

 

2.2

Processor operating states .........................................................................

2-3

 

2.3

Memory formats ..........................................................................................

2-4

 

2.4

Data types ...................................................................................................

2-6

 

2.5

Operating modes ........................................................................................

2-7

 

2.6

Registers .....................................................................................................

2-8

 

2.7

The program status registers ....................................................................

2-13

 

2.8

Exceptions ................................................................................................

2-16

 

2.9

Interrupt latencies .....................................................................................

2-23

 

2.10

Reset .........................................................................................................

2-24

ARM DDI 0029G

Copyright © 1994-2001. All rights reserved.

v

Contents

Chapter 3

Memory Interface

 

 

3.1

About the memory interface .......................................................................

3-2

 

3.2

Bus interface signals ..................................................................................

3-3

 

3.3

Bus cycle types ..........................................................................................

3-4

 

3.4

Addressing signals ...................................................................................

3-11

 

3.5

Address timing ..........................................................................................

3-14

 

3.6

Data timed signals ....................................................................................

3-17

 

3.7

Stretching access times ............................................................................

3-29

 

3.8

Action of ARM7TDMI core in debug state ................................................

3-31

 

3.9

Privileged mode access ............................................................................

3-32

 

3.10

Reset sequence after power up ................................................................

3-33

Chapter 4

Coprocessor Interface

 

 

4.1

About coprocessors ....................................................................................

4-2

 

4.2

Coprocessor interface signals ....................................................................

4-4

 

4.3

Pipeline following signals ............................................................................

4-5

 

4.4

Coprocessor interface handshaking ...........................................................

4-6

 

4.5

Connecting coprocessors .........................................................................

4-12

 

4.6

If you are not using an external coprocessor ............................................

4-15

 

4.7

Undefined instructions ..............................................................................

4-16

 

4.8

Privileged instructions ...............................................................................

4-17

Chapter 5

Debug Interface

 

 

5.1

About the debug interface ..........................................................................

5-2

 

5.2

Debug systems ...........................................................................................

5-4

 

5.3

Debug interface signals ..............................................................................

5-6

 

5.4

ARM7TDMI core clock domains ...............................................................

5-10

 

5.5

Determining the core and system state ....................................................

5-12

 

5.6

About EmbeddedICE Logic ......................................................................

5-13

 

5.7

Disabling EmbeddedICE ..........................................................................

5-15

 

5.8

Debug Communications Channel .............................................................

5-16

Chapter 6

Instruction Cycle Timings

 

 

6.1

About the instruction cycle timing tables ....................................................

6-3

 

6.2

Branch and branch with link .......................................................................

6-4

 

6.3

Thumb branch with link ...............................................................................

6-5

 

6.4

Branch and Exchange ................................................................................

6-6

 

6.5

Data operations ..........................................................................................

6-7

 

6.6

Multiply and multiply accumulate ................................................................

6-9

 

6.7

Load register .............................................................................................

6-12

 

6.8

Store register ............................................................................................

6-14

 

6.9

Load multiple registers .............................................................................

6-15

 

6.10

Store multiple registers .............................................................................

6-17

 

6.11

Data swap .................................................................................................

6-18

 

6.12

Software interrupt and exception entry .....................................................

6-19

 

6.13

Coprocessor data operation .....................................................................

6-20

vi

Copyright © 1994-2001. All rights reserved.

ARM DDI 0029G

 

 

 

Contents

 

6.14

Coprocessor data transfer from memory to coprocessor

.......................... 6-21

 

6.15

Coprocessor data transfer from coprocessor to memory ..........................

6-23

 

6.16

Coprocessor register transfer, load from coprocessor ..............................

6-25

 

6.17

Coprocessor register transfer, store to coprocessor .................................

6-26

 

6.18

Undefined instructions and coprocessor absent .......................................

6-27

 

6.19

Unexecuted instructions ............................................................................

6-28

 

6.20

Instruction speed summary .......................................................................

6-29

Chapter 7

AC and DC Parameters

 

 

7.1

Timing diagram information .........................................................................

7-3

 

7.2

General timing .............................................................................................

7-4

 

7.3

Address bus enable control ........................................................................

7-6

 

7.4

Bidirectional data write cycle .......................................................................

7-7

 

7.5

Bidirectional data read cycle .......................................................................

7-8

 

7.6

Data bus control ..........................................................................................

7-9

 

7.7

Output 3-state timing .................................................................................

7-10

 

7.8

Unidirectional data write cycle timing ........................................................

7-11

 

7.9

Unidirectional data read cycle timing ........................................................

7-12

 

7.10

Configuration pin timing ............................................................................

7-13

 

7.11

Coprocessor timing ...................................................................................

7-14

 

7.12

Exception timing ........................................................................................

7-15

 

7.13

Synchronous interrupt timing ....................................................................

7-16

 

7.14

Debug timing .............................................................................................

7-17

 

7.15

Debug communications channel output timing .........................................

7-19

 

7.16

Breakpoint timing ......................................................................................

7-20

 

7.17

Test clock and external clock timing .........................................................

7-21

 

7.18

Memory clock timing .................................................................................

7-22

 

7.19

Boundary scan general timing ..................................................................

7-23

 

7.20

Reset period timing ...................................................................................

7-24

 

7.21

Output enable and disable times ..............................................................

7-25

 

7.22

Address latch enable control .....................................................................

7-26

 

7.23

Address pipeline control timing .................................................................

7-27

 

7.24

Notes on AC Parameters ..........................................................................

7-28

 

7.25

DC parameters ..........................................................................................

7-34

Appendix A

Signal Description

 

 

A.1

Signal description ........................................................................................

A-2

Appendix B

Debug in Depth

 

 

B.1

Scan chains and JTAG interface ................................................................

B-3

 

B.2

Resetting the TAP controller .......................................................................

B-6

 

B.3

Pullup resistors ...........................................................................................

B-7

 

B.4

Instruction register ......................................................................................

B-8

 

B.5

Public instructions .......................................................................................

B-9

 

B.6

Test data registers ....................................................................................

B-14

 

B.7

The ARM7TDMI core clocks .....................................................................

B-22

ARM DDI 0029G

Copyright © 1994-2001. All rights reserved.

vii

Contents

B.8

Determining the core and system state ....................................................

B-24

B.9

Behavior of the program counter during debug ........................................

B-29

B.10

Priorities and exceptions ..........................................................................

B-32

B.11

Scan chain cell data .................................................................................

B-33

B.12

The watchpoint registers ..........................................................................

B-40

B.13

Programming breakpoints ........................................................................

B-45

B.14

Programming watchpoints ........................................................................

B-47

B.15

The debug control register ........................................................................

B-48

B.16

The debug status register .........................................................................

B-50

B.17

Coupling breakpoints and watchpoints .....................................................

B-52

B.18

EmbeddedICE timing ................................................................................

B-54

B.19

Programming Restriction ..........................................................................

B-55

Glossary

viii

Copyright © 1994-2001. All rights reserved.

ARM DDI 0029G

Соседние файлы в папке ARM