Embedded Flash Memory (MP55)
•
Read mode: the Flash Memory module accepts Read accesses to the array.
•
Modify mode: it is possible to read and write registers, Interlock Write the memory
array, program the memory array, and erase the memory array. Program and Erase
operations are initiated by performing array and register writes, and controlled by an
internal state machine. Program/Erase operations or User Test modes (Margin Read or
Array Integrity Check) are considered Modify modes.
•
Read-While-Write: The Flash Memory module accepts Read accesses to array
partitions that are not in Modify mode.
Such modes of operation are described in detail in
29.2
Flash memory map and description
The Flash Memory module general architecture supports total memory sizes ranging from
32 KB to 8 MB of user memory, plus up to 48 KB of Test memory (a portion of which is One
Time Programmable by the user).
Optionally, an extra memory space ranging from 32 KB to 512 KB can be used as data
space for EEPROM emulation, and can be organized in different RWW partitions (in
addition to the main User memory Partition).
There are four User Address Spaces: Low, Mid, High and 256K Address Space:
•
Low Address Space must always be present and be up to 256 KB in size and may be
organized in a maximum of 14 blocks (16 KB
•
Mid Address Space can be present and be up to 512 KB in size and may be organized
in a maximum of 16 blocks (16 KB, 32 KB, and 64 KB blocks).
•
High Address Space can be present and be up to 512 KB may be organized in a
maximum of 16 small blocks (8 KB
•
256K Address Space can be present and be up to 7.5 MB in size and may be
organized in a maximum of 30 blocks (256 KB).
Note:
There is also a special Test Address space which must always be present and be up to
48 KB in size. Test Address space is part of flash Partition 0.
The Flash Memory module can be divided into a minimum of one to a maximum of eight
flash partitions:
The total size of each Code flash Partition cannot be greater than 2 MB and the maximum
number of blocks cannot exceed 16, including TestFlash. The total size of each Data flash
Partition cannot be greater than 256 KB and the max number of blocks cannot exceed eight.
There are up to six sizes of blocks available for user Flash partitions: 256 KB, 128 KB,
64 KB, 32 KB, 16 KB and 8 KB. The 64 KB, 32 KB and 16 KB blocks can be mapped
anywhere in the Low, Mid and High address spaces. The 256 KB blocks can be mapped in
the 256K address space. 8 KB
The Flash Memory module block subdivision also facilitates independent Erase and
Program protection. A software mechanism is provided to independently lock and unlock
each block in Low, Mid, High and Data address spaces against program and erase.
f.
If the BAF is 8 KB in size, it is integrated with the 8 KB UTEST area to form a single 16 KB block in Low
Address Space.
594/2058
Section 29.4, Functional
(f)
, 32 KB, and 64 KB blocks).
f
, 16 KB, 32 KB, and 64 KB blocks).
f
blocks may only be mapped in the High address space.
DocID027809 Rev 4
RM0400
description.
Need help?
Do you have a question about the SPC572L series and is the answer not in the manual?
Questions and answers