![Infineon Technologies TC1796 User Manual Download Page 588](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437588.webp)
TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-51
V2.0, 2007-07
PCP, V2.0
included in the context will not be saved, and indeed these register values may be
changed by the operation of another active channel. In this case, the required
registers should be explicitly saved to PRAM by store instructions prior to
execution of the DEBUG instruction.
If the DEBUG instruction is programmed to stop all channel program execution, the PCP
disables further invocations of any channel by clearing bit PCP_CS.EN. The execution
of this channel is only stopped according to the SDB instruction field value. The PCP will
only start to reaccept service requests when PCP_CS.EN is written to 1.
Note: The DEBUG instruction must be only used in DEBUG mode; otherwise it will
generate an IOP error.
Note: If PCP_CS.RCB = 0 (Channel Resume Mode), then the channel program will
begin executing at whatever PC is restored from the context location CR7.PC. If
PCP_CS.RCB = 1 (Channel Restart Mode), then the channel program is forced to
always start at its channel entry table location, no matter what the restored context
value is for the PC. This means that in Channel Restart Mode, it is not possible to
restart the channel program from where it was halted by the debug event. It is
recommended that when using Channel Restart Mode, the user should also
program all EXIT instructions with the “EP = 0” setting to allow selection of
Channel Resume Mode for debugging without changing operation of the channel
programs.