149
Chapter 9 Reset
7.Software Reset (RST: Operation Initialization Reset)
7. Software Reset (RST: Operation Initialization Reset)
7.1 Trigger
Writing “0” to the software reset bit (STCR.SRST) generates a software reset request.
A software reset requests an operation reset (RST).
7.2 Releasing the Reset Request
The software reset request is released after the request is received and the operation reset (RST) generated.
7.3 Flag
When software reset request triggers an operation reset (RST), the software reset flag (RSRR.SRST) is set to
“1”.
7.4 Reset Level
This is a normal level reset which only initializes the program and is called an operation reset (RST).
The following section lists the main items initialized by an operation reset (RST):
7.5 Items Initialized by Operation Reset (RST)
• Program operation
• CPU and internal bus
• Content of registers in peripheral circuits
• I/O port settings
• Device operation mode (bus mode and external bus width setting)
7.6 Reset Cancellation Sequence
After cancellation (removal) of the operation reset (RST) request, the device performs the following operations
in the sequence listed.
1. Removal of operation reset (RST) and change to RUN state
2. Read mode vector from address 000FFFF8
H
3. Write mode vector to MODR (mode register)
4. Read reset vector from address 000FFFFC
H
5. Write reset vector to the PC (program counter)
6. Start program execution from the address specified by the PC (program counter)