11/2/95
SECTION 1: OVERVIEW
UM Rev 1
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph
Number
Page
Number
Title
5.4.2.3
5.5
5.5.1
5.5.1.1
5.5.1.2
5.5.1.3
5.5.1.4
5.5.2
Changing Privilege Level........................................................................5-39
Exception Processing......................................................................................5-39
Exception Vectors.........................................................................................5-40
Types of Exceptions.................................................................................5-41
Exception Processing Sequence ..........................................................5-41
Exception Stack Frame............................................................................5-42
Multiple Exceptions..................................................................................5-42
Processing of Specific Exceptions ............................................................5-44
Reset ...........................................................................................................5-44
Bus Error.....................................................................................................5-46
Address Error.............................................................................................5-46
Instruction Traps........................................................................................5-47
Software Breakpoints...............................................................................5-47
Hardware Breakpoints.............................................................................5-48
Format Error...............................................................................................5-48
Illegal or Unimplemented Instructions..................................................5-48
Privilege Violations...................................................................................5-49
Tracing........................................................................................................5-50
Interrupts.....................................................................................................5-51
Return from Exception..............................................................................5-52
Fault Recovery...............................................................................................5-53
Types of Faults ..........................................................................................5-55
Type I—Released Write Faults...........................................................5-55
Type II—Prefetch, Operand, RMW, and MOVEP Faults.................5-56
Type III—Faults During MOVEM Operand Transfer .......................5-57
Type IV—Faults During Exception Processing...............................5-57
Correcting a Fault.....................................................................................5-57
Type I—Completing Released Writes via Software.......................5-57
Type I—Completing Released Writes via RTE................................5-57
Type II—Correcting Faults via RTE....................................................5-58
Type III—Correcting Faults via Software..........................................5-58
Type III—Correcting Faults by Conversion and Restart.................5-58
Type III—Correcting Faults via RTE...................................................5-59
Type IV—Correcting Faults via Software .........................................5-59
CPU32 Stack Frames..................................................................................5-60
Four-Word Stack Frame ..........................................................................5-60
Six-Word Stack Frame.............................................................................5-60
Bus Error Stack Frame.............................................................................5-60
Development Support......................................................................................5-63
CPU32 Integrated Development Support................................................5-63
Background Debug Mode (BDM) Overview........................................5-64
Deterministic Opcode Tracking Overview............................................5-64
5.5.2.1
5.5.2.2
5.5.2.3
5.5.2.4
5.5.2.5
5.5.2.6
5.5.2.7
5.5.2.8
5.5.2.9
5.5.2.10
5.5.2.11
5.5.2.12
5.5.3
5.5.3.1
5.5.3.1.1
5.5.3.1.2
5.5.3.1.3
5.5.3.1.4
5.5.3.2
5.5.3.2.1
5.5.3.2.2
5.5.3.2.3
5.5.3.2.4
5.5.3.2.5
5.5.3.2.6
5.5.3.2.7
5.5.4
5.5.4.1
5.5.4.2
5.5.4.3
5.6
5.6.1
5.6.1.1
5.6.1.2
MOTOROLA
MC68340 USER'S MANUAL
ix
For More Information On This Product,
Go to: www.freescale.com