![Infineon Technologies TC1784 User Manual Download Page 1070](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554461070.webp)
TC1784
On-Chip Debug Support (OCDS)
User´s Manual
15-8
V1.1, 2011-05
OCDS, V1.5
Activation of the External Core Break-in signal
When activating the TC1784 device pin BRKIN = 0 and if MCBS and port control is
configured to forward this event to the Core Break-In signal, a break event is induced as
specified in an External Break Input Event Specifier Register EXEVT (
Execution of a DEBUG Instruction
The TriCore architecture supports a mechanism through which software can explicitly
generate a debug event. This can be used, for instance, by a debugger to patch code
held in RAM in order to implement breakpoints. A special DEBUG instruction is defined
which is a user mode instruction, and its operation depends on whether the debug mode
is enabled. 16-bit and 32-bit forms of the DEBUG instruction are provided.
If debug mode is enabled, the DEBUG instruction causes a debug event to be raised and
the action defined in the Software Break Event Specifier Register SWEVT is taken. If the
debug mode is not enabled, then the DEBUG instruction is treated as a NOP instruction.
Execution of an MTCR/MFCR Instruction
In order to protect the emulator resource, a debug event is raised whenever an MTCR
or MFCR instruction is used to read or modify a user core SFR, but an event is not raised
when the user reads or modifies one of the dedicated core debug registers: DBSR,
CREVT, SWEVT, EXEVT, TR0EVT, TR1EVT, DMS, DCX or DBGTCR.
The action that is performed when an MTCR or MFCR instruction is executed on user
core SFRs defined by the content of the Emulator Resource Protection Event Specifier
Register CREVT.
15.2.1.3 Debug Actions
Four types of debug actions are available:
•
Assert Core Break-out signal and BRKOUT (
) via MCBS unit and port
control
•
Halt the CPU core
•
Cause a breakpoint trap
•
Generate an interrupt request
These debug actions are selected by programming the corresponding Event Specifier
registers. Their contents determine which action shall be taken when the corresponding
debug event occurs. In parallel the Core Suspend-Out signal can be activated.
15.2.1.4 TriCore OCDS Registers
Please refer to “TriCore Core Architecture V1.3.1” manual.
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...