MOTOROLA
Chapter 37. System Development and Debugging
37-17
Part VI. Debug and Test
Result: An event is correctly detected if the compiler chooses a load/store instruction
with data size of half-word. If the compiler chooses load/store instructions with data
size greater than half-word (word, multiple), false detections may occur.
¥
These can only be ignored by the software that handles the breakpoints. Figure 37-4
shows this partially supported scenario:
Figure 37-4. Partially Supported Watchpoints/Breakpoint Example
37.2.4.3 Context Dependent Filter
The core can be programmed to recognize only internal breakpoints when MSR[RI] = 1
(maskable mode) or to always recognize internal breakpoints (nonmaskable mode).
In maskable mode, when the core is programmed only to recognize internal breakpoints
(when MSR[RI] =1), it is possible to debug all parts of the code, except when SRR0 and
SRR1, DAR, and DSISR are busy as indicated by MSR[RI] = 0 (in the prologues and
epilogues of exception handlers). Internal breakpoints detected when MSR[RI] = 0 are lost
and debug counters do not count detected watchpoints. Detected watchpoints are always
reported on the external pins, regardless of the value of MSR[RI].
In nonmaskable mode, when the core is programmed to recognize internal breakpoints, all
parts of the code can be debugged. However, if an internal breakpoint is recognized when
MSR[RI] = 0 (SRR0 and SRR1 are busy), the machine enters a nonrestartable state. See
Section 7.1.5, ÒRecoverability after an Exception.Ó
The core defaults to maskable mode after reset. The core is put in nonmaskable mode by
setting LCTRL2[BRKNOMSK], which controls all internal I- and L-breakpoints. See
Section 37.5.1.5, ÒLoad/Store Support AND-OR Control Register (LCTRL2).Ó
37.2.4.4 Ignore First Match
The ignore Þrst match bit, ICTRL[IFM], facilitates the debuggerÕs ÒcontinueÓ and Ògo from
xÓ utilities for instruction breakpoints. When an instruction breakpoint is Þrst enabled, the
Þrst instruction cannot cause an instruction breakpoint if ICTRL[IFM] = 1. This is used for
ÒcontinueÓ utilities. If IFM = 0, every matched instruction causes an instruction breakpoint.
This is used for Ògo from xÓ. IFM is set by software and cleared by hardware; after the Þrst
instruction breakpoint, the match is ignored. Load/store breakpoints and all
counter-generated breakpoints (instruction and load/store) are unaffected by this mode.
0x00000000
0x00000004
0x00000008
0x0000000c
0x00000010
Possible false detect on these half-words when using word/multiple
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......