MOTOROLA
vi
MC68331
USER’S MANUAL
TABLE OF CONTENTS
(Continued)
Title
Paragraph
Page
5.2.1
5.2.2
5.2.3
5.2.4
5.2.4.1
5.2.4.2
5.2.5
5.3
5.4
5.5
5.6
5.7
5.8
5.8.1
5.8.2
5.8.2.1
5.8.2.2
5.9
5.9.1
5.9.2
5.9.3
5.10
5.10.1
5.10.2
5.10.2.1
5.10.2.2
5.10.2.3
5.10.2.4
5.10.2.5
5.10.2.6
5.10.2.7
5.10.2.8
5.10.3
5.10.4
5.11
Data Registers ........................................................................................5-4
Address Registers ..................................................................................5-5
Program Counter ....................................................................................5-6
Control Registers ....................................................................................5-6
Status Register ............................................................................... 5-6
Alternate Function Code Registers ................................................ 5-6
Vector Base Register (VBR) ...................................................................5-7
Memory Organization .....................................................................................5-7
Virtual Memory ...............................................................................................5-9
Addressing Modes ..........................................................................................5-9
Processing States ..........................................................................................5-9
Privilege Levels ............................................................................................5-10
Instructions ...................................................................................................5-10
M68000 Family Compatibility ...............................................................5-14
Special Control Instructions ..................................................................5-14
Low Power Stop (LPSTOP) ......................................................... 5-14
Table Lookup and Interpolate (TBL) ............................................ 5-14
Exception Processing ...................................................................................5-14
Exception Vectors ................................................................................5-15
Types of Exceptions .............................................................................5-16
Exception Processing Sequence ..........................................................5-17
Development Support ...................................................................................5-17
M68000 Family Development Support .................................................5-17
Background Debugging Mode ..............................................................5-18
Enabling BDM .............................................................................. 5-19
BDM Sources ............................................................................... 5-19
Entering BDM ............................................................................... 5-20
BDM Commands .......................................................................... 5-21
Background Mode Registers ........................................................ 5-21
Returning from BDM .................................................................... 5-22
Serial Interface ............................................................................. 5-22
Recommended BDM Connection ................................................. 5-24
Deterministic Opcode Tracking ............................................................5-24
On-Chip Breakpoint Hardware .............................................................5-25
Loop Mode Instruction Execution .................................................................5-25
SECTION 6QUEUED SERIAL MODULE
6.1
6.2
6.2.1
6.2.1.1
General ...........................................................................................................6-1
QSM Registers and Address Map ..................................................................6-2
QSM Global Registers ............................................................................6-2
Low-Power Stop Operation ............................................................ 6-2