English
Language : 

HD64F2638F20J Datasheet, PDF (149/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
Section 4 Exception Handling
4.2.4 State of On-Chip Supporting Modules after Reset Release
After reset release, MSTPCRA to MSTPCRD are initialized to H'3F, H'FF, H'FF, and
B'11*******1, respectively, and all modules except the DTC, enter module stop mode.
Consequently, on-chip supporting module registers cannot be read or written to. Register reading
and writing is enabled when module stop mode is exited.
Note: 1. The value of bits 5 to 0 is undefined.
4.3 Traces
Traces are enabled in interrupt control mode 2. Trace mode is not activated in interrupt control
mode 0, irrespective of the state of the T bit. For details of interrupt control modes, see section 5,
Interrupt Controller.
If the T bit in EXR is set to 1, trace mode is activated. In trace mode, a trace exception occurs on
completion of each instruction.
Trace mode is canceled by clearing the T bit in EXR to 0. It is not affected by interrupt masking.
Table 4-3 shows the state of CCR and EXR after execution of trace exception handling.
Interrupts are accepted even within the trace exception handling routine.
The T bit saved on the stack retains its value of 1, and when control is returned from the trace
exception handling routine by the RTE instruction, trace mode resumes.
Trace exception handling is not carried out after execution of the RTE instruction.
Table 4-3 Status of CCR and EXR after Trace Exception Handling
Interrupt Control Mode
0
2
Legend:
1: Set to 1
0: Cleared to 0
—: Retains value prior to execution.
CCR
EXR
I
UI
I2 to I0
T
Trace exception handling cannot be used.
1
—
—
0
REJ09B0103-0800 Rev. 8.00
May 28, 2010
Page 99 of 1458