m38039g6hsp Renesas Electronics Corporation., m38039g6hsp Datasheet - Page 15

no-image

m38039g6hsp

Manufacturer Part Number
m38039g6hsp
Description
Single-chip 8-bit Cmos Microcomputer
Manufacturer
Renesas Electronics Corporation.
Datasheet
3803 Group (Spec.H QzROM version)
Rev.1.10
REJ03B0166-0110
MEMORY
• Special Function Register (SFR) Area
The Special Function Register area in the zero page contains
control registers such as I/O ports and timers.
• RAM
The RAM is used for data storage and for stack area of
subroutine calls and interrupts.
• ROM
The first 128 bytes and the last 2 bytes of ROM are reserved for
device testing and the rest is a user area for storing programs. In
the QzROM version, 1 byte of address FFDB
area.
• Interrupt Vector Area
The interrupt vector area contains reset and interrupt vectors.
• Zero Page
Access to this area with only 2 bytes is possible in the zero page
addressing mode.
• Special Page
Access to this area with only 2 bytes is possible in the special
page addressing mode.
Fig 10. Memory map diagram
RAM area
ROM area
Nov 14, 2005
ROM size
RAM size
12288
16384
20480
24576
28672
32768
36864
40960
45056
49152
53248
57344
61440
1024
1536
2048
4096
8192
(bytes)
(bytes)
192
256
384
512
640
768
896
Address
Address
XXXX
YYYY
00FF
01BF
02BF
03BF
E000
D000
C000
B000
A000
013F
023F
033F
043F
063F
083F
F000
9000
8000
7000
6000
5000
4000
3000
2000
1000
Page 15 of 91
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
Address
16
ZZZZ
E080
D080
C080
B080
A080
F080
9080
8080
7080
6080
5080
4080
3080
2080
1080
is also a reserved
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
ROM
RAM
• ROM Code Protect Address (address FFDB16)
Address FFDB
the ROM code protect address. “00
this address when selecting the protect bit write by using a serial
programmer or selecting protect enabled for writing shipment by
Renesas Technology corp.. When “00
ROM code protect address, the protect function is enabled, so
that reading or writing from/to QzROM is disabled by a serial
programmer.
As for the QzROM product in blank, the ROM code is protected
by selecting the protect bit write at ROM writing with a serial
programmer.
The protect can be performed, dividing twice. The protect area 1
is from the beginning address of ROM to address “EFFF
for the QzROM product shipped after writing, “00
enabled to all area), “FE
or “FF
address when Renesas Technology corp. performs writing.
The writing of “00
option setup (“MASK option” written in the mask file converter)
when ordering.
<Notes>
Since the contents of RAM are undefined at reset, be sure to set
an initial value before use.
XXXX
YYYY
FFDC
FFDB
0FDF
EFFF
FFFE
ZZZZ
FFFF
0FE0
0FFF
083F
F000
FF00
0000
0040
0100
0840
1000
16
” (protect disabled) is written into the ROM code protect
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
(ROM code protect address)
Reserved ROM area
Reserved ROM area
Interrupt vector area
Reserved ROM area
16
User ROM area
, which is the reserved ROM area of QzROM, is
Reserved area
16
(128 bytes)
SFR area
Not used
SFR area
Not used
”, “FE
16
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
” (protect enabled to the protect area 1)
16
” or “FF
16
16
” or “FE
16
” can be selected as ROM
” or “FE
Protect area 1
Special page
Zero page
16
” is written into
16
” is set to the
16
” (protect
16
”. As

Related parts for m38039g6hsp