XC886/888CLM
On-Chip Debug Support
User’s Manual
17-3
V1.3, 2010-02
OCDS, V 1.0
Note: All the debug functionality described here can normally be used only after
XC886/888 has been started in OCDS mode.
For more information on boot configuration options, see
Attention: As long as the OCDS is actively used, the application software should
not change the TRAP_EN bit within Extended Operation (EO) register!
17.3
Debugging
The on-chip debug system functionality can be described in two parts. The first part
covers the generation of Debug Events and the second part describes the Debug
Actions that are taken when a debug event is generated.
•
Debug events:
–
–
–
•
Debug event actions:
–
–
The XC886/888 debug operation is based on close interaction between the OCDS
hardware and a specialized software called the Monitor program.
17.3.1
Debug Events
The OCDS system recognizes a number of different debug events, which are also called
breakpoints or simply breaks.
Depending on how the events are processed in time, they can be classified into three
types of breaks:
•
Break Before Make
The break happens just before the break instruction (i.e. the instruction causing the
break) is executed. Therefore, the break instruction itself will be the next instruction
from the user program flow but executed only after the relevant debug action has
been taken.
•
Break After Make
The break happens immediately after the instruction causing it has been executed.
Therefore, the break instruction itself has already been executed when the relevant
debug action is taken.
•
Break Now
The events of this type are asynchronous to the code execution inside the
XC886/888 and there is no “instruction causing the debug event” in this case. The
debug action is performed by OCDS “as soon as possible” once the debug event is
raised.
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...