Reset; Reset Exception Handling; Table 4.3 Calculation Method Of Exception Handling Vector Table Address - Renesas H8SX/1500 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1500 Series:
Table of Contents

Advertisement

Section 4 Exception Handling
Table 4.3
Calculation Method of Exception Handling Vector Table Address
Exception Source
Reset, CPU address error
Other than above
[Legend]
VBR: Vector base register
Vector table address offset: See table 4.2.
4.3

Reset

A reset has priority over any other exception. When the RES pin goes low, all processing halts and
this LSI enters the reset state. To ensure that this LSI is reset, hold the RES pin low for at least 20
ms when the power is turned on. When operation is in progress, hold the RES pin low for at least
20 cycles.
The chip can also be reset by overflow of the watchdog timer. For details, see section 11,
Watchdog Timer (WDT).
A reset initializes the internal state of the CPU and the registers of the on-chip peripheral modules.
The interrupt control mode is 0 immediately after a reset.
4.3.1

Reset Exception Handling

When the RES pin goes high after being held low for the necessary time, this LSI starts reset
exception handling as follows:
1. The internal state of the CPU and the registers of the on-chip peripheral modules are
initialized, VBR is cleared to H'00000000, the T bit is cleared to 0 in EXR, and the I bits are
set to 1 in EXR and CCR.
2. The reset exception handling vector address is read and transferred to the PC, and program
execution starts from the address indicated by the PC.
Figure 4.1 shows an example of the reset sequence.
Rev. 3.00 Mar. 14, 2006 Page 76 of 804
REJ09B0104-0300
Calculation Method of Vector Table Address
Vector table address = (vector table address offset)
Vector table address = VBR + (vector table address offset)

Advertisement

Table of Contents
loading

Table of Contents