3 cfm registers, 3 cfm registers -7 – Motorola ColdFire MCF5281 User Manual

Page 119

Advertising
background image

ColdFire Flash Module (CFM)

Freescale Semiconductor

6-7

6.3.3

CFM Registers

The CFM module also contains a set of control and status registers. The memory map for these registers
and their accessibility in supervisor and user modes is shown in

Table 6-3

.

Table 6-2. FLASHBAR Field Descriptions

Bits

Name

Description

31–19

BA[31:18]

Base address field. Defines the 0-modulo-512K base address of the Flash
module. By programming this field, the Flash may be located on any 512Kbyte
boundary within the processor’s four gigabyte address space.

18–9

Reserved, should be cleared.

8

WP

Write protect. Read only. Allows only read accesses to the Flash. This bit is
always set and any attempted write access will generate an access error
exception to the ColdFire processor core.
0 Allows read and write accesses to the Flash module
1 Allows only read accesses to the Flash module

7–6

Reserved, should be cleared.

5–1

C/I, SC, SD, UC,

UD

Address space masks (ASn).
These five bit fields allow certain types of accesses to be “masked,” or inhibited
from accessing the Flash module. The address space mask bits are:

C/I

CPU space/interrupt acknowledge cycle mask

SC

Supervisor code address space mask

SD

Supervisor data address space mask

UC

User code address space mask

UD

User data address space mask

For each address space bit:
0 An access to the Flash module can occur for this address space
1 Disable this address space from the Flash module. If a reference using this

address space is made, it is inhibited from accessing the Flash module, and is
processed like any other non-Flash reference.

These bits are useful for power management as detailed in

Chapter 7, “Power

Management

.

0

V

Valid. When set, this bit enables the Flash module; otherwise, the module is
disabled.
0 Contents of FLASHBAR are not valid
1 Contents of FLASHBAR are valid

Table 6-3. CFM Register Address Map

IPSBAR Offset

Bits 31–24

Bits 23–16

Bits 15–8

Bits 7–0

Access

1

0x1D_0000

CFMMCR

CFMCLKD

Reserved

2

S

0x1D_0004

Reserved

2

S

0x1D_0008

CFMSEC

S

0x1D_000C

Reserved

2

S

0x1D_0010

CFMPROT

S

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: