beautypg.com

0 memory, 1 operating environment, Memory – National CP3BT26 User Manual

Page 24: Operating environment, Cp3bt26

background image

www.national.com

24

CP3BT26

6.0

Memory

The CP3BT26 supports a uniform 16M-byte linear address
space. Table 6 lists the types of memory and peripherals
that occupy this memory space. Unlisted address ranges

are reserved and must not be read or written. The BIU
zones are regions of the address space that share the same
control bits in the Bus Interface Unit (BIU).

Table 6

CP3BT26 Memory Map

6.1

OPERATING ENVIRONMENT

The operating environment controls whether external mem-
ory is supported and whether the reset vector jumps to a
code space intended to support In-System Programming
(ISP). Up to 12M of external memory space is available.

The operating mode of the device is controlled by the states
on the ENV[2:0] pins at reset and the states of the EMPTY
bits in the Protection Word, as shown in Table 7. Internal
pullups on the ENV[2:0] pins select IRE mode or ISP mode
if these pins are allowed to float.

When ENV[2:0] = 111b, IRE mode is selected unless the
EMPTY bits in the Protection word indicate that the program
flash memory is empty (unprogrammed), in which case ISP
mode is selected. When ENV[2:0] = 011b, ERE mode is se-
lected unless the EMPTY bits indicate that the program

flash memory is empty, in which case ISP mode is selected.
When ENV[2:0] = 110b, ISP mode is selected without re-
gard to the states of the EMPTY bits. See Section 8.4.2 for
more details.

In the DEV environment, the on-chip flash memory is dis-
abled, and the corresponding region of the address space
is mapped to external memory. DEVINT mode is equivalent
to DEV mode but maps static memory zone 0 to the on-chip
memory.

Start

Address

End

Address

Size in

Bytes

Description

BIU Zone

00 0000h

03 FFFFh

256K

On-chip Flash Program Memory, including Boot
Memory

Static Zone 0
(mapped internally
in IRE and ERE
mode; mapped to
the external bus in
DEV mode)

04 0000h

0C FFFFh

576K

Reserved

0D 0000h

0D 1FFFh

8K

On-chip Flash Data Memory

0D 2000h

0D FFFFh

56K

Reserved

0E 0000h

0E 7FFFh

32K

System RAM

N/A

0E 8000h

0E 91FFh

4.5K

Bluetooth Data RAM

0E 9200h

0E E7FFh

21.5K

Reserved

0E E800h

0E EBFFh

1K

Bluetooth Lower Link Controller Sequencer RAM

0E EC00h

0E EFFFh

1K

Reserved

0E F000h

0E F13Fh

320

CAN Buffers and Registers

0E F140h

0E F17Fh

64

Reserved

0E F180h

0E F1FFh

128

Bluetooth Lower Link Controller Registers

0E F200h

0F FFFFh

67K

Reserved

10 0000h

3F FFFFh

3072K

Reserved

40 0000h

7F FFFFh

4096K

External Memory Zone 1

Static Zone 1

80 0000h

FE FFFFh

8128K

External Memory Zone 2

Static Zone 2

FF 0000h

FF F1FFh

61952

Reserved

FF F200h

FF F5FFh

1K

Peripherals and Other I/O Ports

N/A

FF F600h

FF FAFFh

1280

BIU, DMA, Flash interfaces

IN/A

FF FB00h

FF FBFFh

256

I/O Expansion

I/O Zone

FF FC00h

FF FFFFh

1K

Peripherals and Other I/O Ports

N/A