TC1796
System Units (Vol. 1 of 2)
Program Memory Unit
User’s Manual
7-16
V2.0, 2007-07
PMU, V2.0
the actual Page Mode, indicated by sequence error flag FSR.SQER set, and restarts a
new page operation. The selected assembly register remains unchanged (not cleared)
with a new Enter Page Mode command.
7.2.5.3
Load Page Buffer Command
There are basically two types of Load Page Buffer command:
•
Load Page Buffer command with 32-bit data (two-cycle command)
•
Load Page Buffer command with 64-bit data (one-cycle command)
The Load Page Buffer command loads 32-bit words or 64-bit double-words into the
assembly buffer, starting from the lowest to the highest assembly buffer entry. Only one
type of the Load Page Buffer commands (either with 32-bit or 64-bit data width) is
allowed during one assembly buffer loading sequence. Mixing 64-bit and 32-bit write
data width within one assembly buffer filling sequence is not allowed.
The data width for the assembly buffer filling sequence is selected by using instruction(s)
with the corresponding data format. A single Load Page Buffer command consists of a
store instruction to a specific address. In case of 64-bit data width, the same address
A000 55F0
H
always has to be used. In case of 32-bit data width, alternating addresses
A000 55F0
H
and A000 55F4
H
must be used.
For loading of the 256-byte wide assembly buffer for PFLASH programming, thirty-two
Load Page commands with 64-bit data or sixty-four Load Page Buffer commands with
32-bit data must be issued. For loading of the 128-byte wide assembly buffer for
DFLASH programming, sixteen Load Page commands with 64-bit data or thirty-two Load
Page Buffer commands with 32-bit data must be issued.
The following example shows a Load Page Buffer command sequence for the DFLASH
bank 0 assembly buffer (128 bytes) with 32-bit data width:
Table 7-7
Load Page Buffer Command
Cycle No.
PFLASH
DFLASH
Address
Data
Bank
Address
Data
32-Bit Load Page Buffer Command
Cycle 1
A000
55F0
H
32-bit data
DB0
AFE0
55F0
H
32-bit data
DB1
AFE1
55F0
H
Cycle 2
A000
55F4
H
32-bit data
DB0
AFE0
55F0
H
32-bit data
DB1
AFE1
55F4
H
64-Bit Load Page Buffer Command
Cycle 1
A000
55F0
H
64-bit data
DB0
AFE0
55F0
H
64-bit data
DB1
AFE1
55F0
H