CC2430
8051 CPU : Memory
MEMCTR (0xC7) – Memory Arbiter Control
Bit
Name
-
Reset
R/W
Description
7
0
R0
Not used
6
0
R/W
Unified memory mapping. When unified mapping is enabled, all
physical memories are mapped into the CODE memory space as
far as possible, when uniform mapping is disabled only flash
memory is mapped to CODE space
MUNIF
0
1
Disable unified mapping
Enable unified mapping
5:4
01
R/W
Flash bank map. These bits are supported by CC2430-F128 only.
FMAP[1:0]
Controls which of the four 32 KB flash memory banks to map to
program address 0x8000 – 0xFFFF in CODE memory space.
These bits are aliased to FMAP.MAP[1:0]
00
01
10
11
Map program address 0x8000 – 0xFFFF to physical memory
address 0x00000 – 0x07FFF
Map program address 0x8000 – 0xFFFF to physical memory
address 0x08000– 0x0FFFF
Map program address 0x8000 – 0xFFFF to physical memory
address 0x10000 – 0x17FFF
Map program address 0x8000 – 0xFFFF to physical memory
address 0x18000 – 0x1FFFF
3:2
1
00
0
R0
Not used
-
R/W
Flash cache disable. Invalidates contents of instruction cache and
forces all instruction read accesses to read straight from flash
memory. Disabling will increase power consumption and is
provided for debug purposes.
CACHDIS
0
Cache enabled
1
Cache disabled
0
1
R/W
Reserved. Always set to 1.6
-
FMAP (0x9F) – Flash Bank Map
Bit
Name
Reset
R/W
Description
7:2
0x00
R0
Not used
-
1:0
01
R/W
Flash bank map. Controls which of the four 32 KB flash memory
banks to map to program address 0x8000 – 0xFFFF in CODE
memory space. These bits are aliased to
MAP[1:0]
MEMCTR.FMAP[5:4]
00
01
10
11
Map program address 0x8000 – 0xFFFF to physical memory
address 0x00000 – 0x07FFF
Map program address 0x8000 – 0xFFFF to physical memory
address 0x08000– 0x0FFFF
Map program address 0x8000 – 0xFFFF to physical memory
address 0x10000 – 0x17FFF
Map program address 0x8000 – 0xFFFF to physical memory
address 0x18000 – 0x1FFFF
6
Reserved bits must always be set to the specified value. Failure to follow this will result in
indeterminate behaviour.
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 41 of 211