37-24
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part VI. Debug and Test
¥
Instruction breakpoint. Recognized only when MSR[RI] = 1, when breakpoints are
maskable. Nonmaskable breakpoints are always recognized.
¥
Load/store breakpoint. Recognized only when MSR[RI] = 1, when breakpoints are
maskable. Nonmaskable breakpoints are always recognized.
¥
Maskable breakpoint from the development port generated by external modules are
recognized only when MSR[RI] = 1.
¥
Development port nonmaskable interrupt resulting from a debug station request.
Useful in some catastrophic events like an endless loop when MSR[RI] = 0. This
may cause the machine to enter a nonrestartable state. See Section 7.1.5,
ÒRecoverability after an Exception.Ó
The processor enters debug mode when at least one ICR bit is set, the corresponding DER
bit is enabled, and debug mode is enabled. When debug mode is enabled and an enabled
event occurs, the processor waits until its pipeline is empty before fetching instructions
from the development port. Section Chapter 7, ÒExceptions,Ó gives the exact SRR0 and
SRR1 values. If the core is in debug mode, the freeze indication is asserted, causing any
properly programmed peripheral to stop. The development port should read the value of the
ICR to get the cause of the debug mode entry. Reading the ICR clears all of its bits.
37.3.1.3 Debug Mode Indication
The fact that the core is in debug mode is broadcast to the external world using the value
0b11 on the VFLS pins. Debug mode indication will also be given on the FRZ pin. Note,
however, that the FRZ indication can also be used by software monitors, as described in
Section 37.4, ÒSoftware Monitor Debugger Support.Ó
37.3.1.4 Checkstop State and Debug Mode
The core enters checkstop state if the machine check interrupt is disabled (MSR[ME] = 0)
and a machine check interrupt is detected. However, if DER[CKSTPE] is also set, the core
enters debug mode rather then the checkstop state. Table 37-9 shows the various actions the
core can take when a machine check interrupt is detected.
Table 37-9. Checkstop State and Debug Mode
MSR[M
E]
Debug Mode
Enable
DER[CHSTPE
]
DER[MCIE
]
Core Response to Machine Check
Interrupt
ICR Value
0
0
X
X
Enter the checkstop state
0x20000000
1
0
X
X
Branch to machine check interrupt
0x10000000
0
1
0
X
Enter checkstop state
0x20000000
0
1
1
X
Enter debug mode
0x20000000
1
1
X
0
Branch to machine check interrupt
0x10000000
1
1
X
1
Enter debug mode
0x10000000
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......