3 memory map, Memory map -4 – Motorola ColdFire MCF5281 User Manual

Page 116

Advertising
background image

ColdFire Flash Module (CFM)

6-4

Freescale Semiconductor

6.3

Memory Map

Figure 6-2

shows the memory map for the CFM array. The CFM array can reside anywhere in the memory

space of the MCU. The starting address of the array is determined by the CFM array base address which
must reside on a natural size boundary; that is, the CFM array base address must be an integer multiple of
the array size. The CFM register space must reside on a 64 byte boundary as determined by the CFM
register base address.

Figure 6-2

shows how multiple 32,768 by 16-bit Flash physical blocks interleave to

form a contiguous non-volatile memory space. Each pair of 32-bit blocks (even and odd) interleave every
4 bytes to form a 256-Kbyte section of memory.

NOTE

The CFM on the MCF5281 and MCF5214 is constructed with four banks of
32K x 16-bit Flash arrays to generate 256 Kbytes of 32-bit Flash memory.

Figure 6-2. CFM Array Memory Map

The CFM module has hardware interlocks to protect data from accidental corruption. The <<BLOCK
NAME>> memory array is logically divided into 16-Kbyte sectors for the purpose of data protection and
access control. A flexible scheme allows the protection of any combination of logical sectors (see

Section 6.3.4.4, “CFM Protection Register (CFMPROT)

”). A similar mechanism is available to control

supervisor/user and program/data space access to these sectors.

0x0007 FFFF

0x0004 000C

0x0000 0000

0x0000 0004

0x0000 0008

0x0000 000C

0x0003 FFFF

0x0004 0000

0x0004 0004

0x0004 0008

3H[1]

3L[1]

2H[1]

2L[1]

3H[0]

3L[0]

2H[0]

2L[0]

1H[1]

1L[1]

0H[1]

0L[1]

1H[1]

1L[1]

0H[0]

0L[0]

Logical Block 1 (256 Kbytes)

Memory

Array 2H

2H[31]

2L[31]

Memory

Array 2L

2H[0]

2L[0]

Flash Physical Block 2

Flash Physical Block 3

3H[31]

3L[31]

3H[0]

3L[0]

Memory

Array 3H

Memory

Array 3L

Logical Block 0 (256 Kbytes)

Memory

Array 0H

0H[31]

0L[31]

Memory

Array 0L

0H[0]

0L[0]

Flash Physical Block 0

Flash Physical Block 1

1H[31]

1L[31]

1H[0]

1L[0]

Memory

Array 1H

Memory

Array 1L

Each memory array = 64 Kbytes

(16 bits wide

× 32K)

Each physical block = 128 Kbytes

(32 bits wide

× 32K)

Configuration Field

(0x0000_0400–

0x0000_0417)

1

The MCF5281 and MCF5214 support only Logical Block 0.

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

Advertising
This manual is related to the following products: