Toshiba TLCS-900/H1 Series Manual page 159

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:
Table of Contents

Advertisement

(c) Setting the start addresses and address ranges
An example of specifying a 64-Kbyte address space starting from 010000H for the
CS0 space:
Set 01H in the MSAR0<S23:S16> bits that corresponds to the upper 8 bits of the
start address. Then, calculate the difference between the start address and the
anticipated end address (01FFFFH) based on the size of the CS0 space. Bits 20 to 8 of
the calculation result correspond to the mask value to be set for the CS0 space. Setting
this value in the MAMR0<V20:V8> bits specifies the block size. This example sets 07H
in MAMR0 to allocate a 64-Kbyte address space for the CS0 space.
0
0
0
0
0
0
S23 S22 S21 S20 S19 S18 S17 S16
MSAR0
0
0
0
0
0
0
V20 V19 V18 V17 V16 V15
MSMR0
0
0
0
0
0
0
(d) Programming block sizes
Table 3.8.3 shows the relationship between CS spaces and their block sizes. The "Δ"
symbol indicates the size that might not be programmable depending on the
combination of the values of the Memory Start Address and Memory Address Mask
registers. When specifying a block size indicated as "Δ", set the start address register to
a multiple of the desired block size starting from 000000H.
If the 16-Mbyte range is defined as CS2 space, or if two or more spaces overlap, the
settings for the CS space with the smallest number overrides the settings for other
spaces because of its highest priority.
Example: Defining 128 Kbyte area as the CS0 space:
a. Valid start addresses
000000H
020000H
040000H
060000H
:
b. Invalid start addresses
000000H
010000H
030000H
050000H
0
0
1
1
1
1
1
1
1
F
0
0
1
0
0
0
0
0
1
0
V14 ∼ V9
0
0
0
1
1
1
1
1
7
Setting of 07H specifies a 64-Kbyte area.
128 Kbytes
128 Kbytes
128 Kbytes
64 Kbytes
128 Kbytes
128 Kbytes
92CF30-157
1
1
1
1
1
1
1
1
F
F
0
0
0
0
0
0
0
0
0
0
V8
1
1
1
1
1
1
1
1
H
The desired block size can be programmed with this
configuration.
This start address is not a multiple of the desired block size.
Hence, the desired block size cannot be programmed with this
configuration.
TMP92CF30
Memory
1
1
1
end
H
F
address
CS0 area
Size
(64
Kbytes)
Memory
0
0
0
Start
address
0
H
Memory address
1
1
1
mask register
setting
2009-06-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92cf30fg

Table of Contents