TC1796
System Units (Vol. 1 of 2)
Program Memory Unit
User’s Manual
7-4
V2.0, 2007-07
PMU, V2.0
7.2.1
Program Flash Overview
The PFLASH memory has a capacity of 2 Mbyte. The internal structure of the PFLASH
is based on a sector architecture. For flexible erase, programming, and protection
capability, the 2 Mbyte are divided into 13 sectors of eight 16 Kbyte sectors (combined
into two 64 Kbyte physical sectors), one 128 Kbyte sector, one 256 Kbyte sector, and
three 512 Kbyte sectors. PFLASH sectors are numbered as PSx with x = 0 to 12.
Figure 7-3
PFLASH Structure
The PFLASH operates in paging mode which makes it possible to load 64 words
(= 256 byte) into a page assembly buffer with fast CPU accesses before this buffer is
programmed into the Flash memory with one Write Page command. Thus, the
programming width is always 256 byte. Programming of single words, bytes, or bits is
not supported. The 256-byte wide PFLASH pages are numbered with PPy with y = 0 to
8191.
Only one complete sector can be erased. Program and erase operations are initiated
and supervised by the Flash Command State Machine (FCS), but its execution is further
controlled by control logic in the Flash Array Module (FAM).
MCA05643
….
Page PP63
Page PP0
16 Kbyte
Sector PS0
256 byte
256 byte
Physical Sector 1
PPS1
64 Kbyte
Physical Sector 0
PPS0
64 Kbyte
128 Kbyte
Sector PS8
Sector PS10
Sector PS9
Sector PS11
Sector PS12
256 Kbyte
512 Kbyte
512 Kbyte
512 Kbyte
….
Page PP8191
Page PP6144
256 byte
256 byte
PFLASH
2 Mbyte
PFLASH Bank
16 Kbyte
Sector PS7
16 Kbyte
Sector PS6
16 Kbyte
Sector PS5
16 Kbyte
Sector PS4
16 Kbyte
Sector PS3
16 Kbyte
Sector PS2
16 Kbyte
Sector PS1