NEC V850E/Dx3 Preliminary User's Manual page 864

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 26
On-chip hardware
CPU
Internal RAM After
Peripherals
864
Downloaded from
Elcodis.com
electronic components distributor
(3)
Register status
With each reset function the registers of the CPU, internal RAM, and on-chip
peripheral I/Os are initialized.
Since after reset the internal firmware is processed, some resources hold a
different value as after reset, when the user's program is started. After a reset,
make sure to set the registers to the values needed within your program.
Table 26-2
Initial values of CPU and internal RAM after reset
Register name
Program
General-purpose register (r0)
registers
General-purpose registers
(r1 to r31)
Program counter (PC)
System
Status save registers during interrupt
registers
(EIPC, EIPSW)
Status save registers during non-
maskable interrupt (NMI)
(FEPC, FEPSW)
Interrupt cause register (ECR)
Program status word (PSW)
Status save registers during CALLT
execution (CTPC, CTPSW)
Status save registers during
exception/debug trap (DBPC,
DBPSW)
CALLT base pointer (CTBP)
After Power-On-Clear reset the
power-on
entire RAM contents is undefined.
After
If a RESET occurs while writing to a
RESET
RAM memory block, the contents of
that RAM memory block may be
corrupted. All other RAM memory
blocks are not affected.
Refer also to the note below the
table.
After any
Any internal generated reset does
other
not change the RAM contents.
reset
Macro internal registers
Preliminary User's Manual U17566EE1V2UM00
Initial value
After Reset At start of user's program
0000 0000
0000 0000
H
H
Undefined
Undefined
0000 0000
Variable reset vector
H
programmed to flash extra area
Undefined
Undefined
Undefined
Undefined
0000 0000
0000 0000
H
H
0000 0020
• 0000 0020
: if no security
H
H
flags or variable reset vector
are set
• 0000 0021
: else
H
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
All data in
• 03FF 0000
- 03FF 07FF
H
previous
undefined
state
All other data in previous state
or undefined (refer to note
below).
All data in
• 03FF 0000
- 03FF 07FF
H
previous
undefined
state
All other data in previous state.
The reset values of the various registers are
given in the chapters of the peripheral
functions
Reset
:
H
:
H

Advertisement

Table of Contents
loading

Table of Contents