![Infineon Technologies XC2200 Скачать руководство пользователя страница 654](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439654.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Debug System
User’s Manual
11-8
V2.1, 2008-08
OCDS_X8, V2.4
11.2.2
Debug Actions
When the OCDS is enabled and a debug event is generated, one of the following actions
is taken:
Trigger Transfer
One of the actions that can be specified to occur on a debug event being raised is to
trigger the
:
• to execute a Data Transfer - this can be used in critical routines where the system
cannot be interrupted to transfer a memory location
• to inject an instruction to the Core - using this mechanism, an arbitrary instruction can
be injected into the XC2200 pipeline
Halt Mode
Upon this Action the OCDS Module sends a Break-Request to the Core.
The Core accepts this request, if the OCDS Break Level is higher than current CPU
priority level. In case a Break-Request is accepted, the system suspends execution with
halting the instruction flow.
The Halt Mode can be still interrupted by higher priority user interrupts. It then relies on
the external debugger system to interrogate the target purely through reading and
updating via the debug interface.
Call a Monitor
One of the possible actions to be taken when a debug event is raised is to call a Monitor
Program.
This short entry to a Monitor allows a flexible debug environment to be defined which is
capable of satisfying many of the requirements for efficient debugging of a real time
system. In the common case the Monitor has the highest priority and can not be
interrupted from any other requesting source.
It is also possible to have an Interruptible Monitor Program. In such a case safety critical
code can be still served while the Monitor (Debugger) is active, which gives a maximum
flexibility to the user.
Activate External Pin
This action activates the external pin BRKOUT of the
. It can be
used in critical routines where the system cannot be interrupted to signal to the external
world that a particular event has happened. The feature could also be useful to
synchronize the internal and external debug hardware.