MOTOROLA
Chapter 37. System Development and Debugging
37-19
Part VI. Debug and Test
Option: Enable trap on every load/store watchpoint in LCTRL2[SLWxEN] or on
every N watchpoints in COUNTx. (Set CNTV to n and select the load/store
watchpoint in CNTC).
8. Select whether breakpoints are maskable or nonmaskable in
LCTRL2[BRKNOMSK].
9. Optionally select whether a load/store trap causes the debug mode to be entered in
DER[LBRKE].
37.3 Development System Interface
It is often useful to debug a target system without making changes. However, sometimes it
is impossible to add load to the lines connected to the existing system without disrupting
its operation. The development system interface of the core enables debug of a target
system with minimal cost and intrusiveness.
The development system interface of the core uses the development port, which is a
dedicated serial port and, therefore, does not need any of the regular system interfaces.
The development port is a relatively inexpensive interface that allows a development
system to operate in a lower frequency than the coreÕs frequency and controls system
activity when the core is in debug mode. It is also possible to debug the core using monitor
debugger software, described in Section 37.4, ÒSoftware Monitor Debugger Support.Ó
In debug mode the core fetches all instructions from the development port; data can be read
from the development port and written to the development port. This allows memory and
registers to be read and modiÞed by a development tool (emulator) connected to the
development port. For protection, two possible working modes are deÞnedÑdebug mode
enable and debug mode disable, described in Section 37.3.1.1, ÒDebug Mode Enable vs.
Debug Mode Disable,Ó are selected only during reset.
The user can work in debug mode directly out of reset or the core can be programmed to
enter debug mode as a result of a predeÞned sequence of events. These events can be any
interrupt or exception in the core system, including the internal breakpoints, in combination
with two levels of development port requests generated externally. Each of these can be
programmed to be treated as a regular interrupt that causes the machine to branch to its
interrupt vector or as a special interrupt that causes debug mode entry. In debug mode, the
rÞ instruction returns the machine to its regular work mode. Figure 37-5 shows the
relationship between debug mode logic and the rest of the core.
Содержание 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: ......