TC1784
Program Memory Unit (PMU)
User´s Manual
5-32
V1.1, 2011-05
PMU, V1.47
With this command, the ‘page mode’ is entered, indicating that the page assembly buffer
is enabled to be filled up with Load Page commands, and that a program operation is in
preparation. Selection between assembly buffers of Program Flash and Data Flash is
performed with the nibble “y” in the low byte of data word: y=0
H
selects the assembly
buffer (256 byte) of Program Flash, y=D
H
selects the assembly buffer (128 byte) of
Data Flash. The page mode is indicated in the status register FSR with the PAGE bit,
separately for PFlash and DFlash. The page mode and the read mode are allowed in
parallel at the same time and in the same Flash memory. The page mode can be aborted
and the related PAGE bit in FSR be cleared with the Reset to Read command. A new
Enter Page Mode command during page mode aborts the actual page mode, which is
indicated with error flag ‘Sequence Error’, and enters the new page mode as described
above. The assembly buffer remains unchanged (not cleared) with a new Enter Page
Mode command.
Load Page
Load page assembly buffer with 64-bit double-word or with 32-bit word. The first or a
sequential or the last double-word (or word) is loaded into the page assembly buffer with
each Load Page command.
Note: For loading one page, the transfer width must always be identical. Mixed transfers
of 64-bit and 32-bit write data are not supported by the PMU, because the ECC
generation would be disabled in case of single 32-bit transfers (SQER error
reporting in case of mixed transfers).
This (sequential) data write access to the assembly buffer belongs to and is only
accepted in Page Mode. The data width (64-bit or 32-bit) is selected by the data-source
(normally the DMI-unit) and it is indicated to the Flash by a qualifier to the data address.
For 64-bit transfers, the address (A15–A0) of this single cycle command is always the
same (55F0
H
), in case of 32-bit transfers, the address must alternate between even or
odd (55F0
H
or 55F4
H
) word addresses. The low order address bits also identify the Load
Page command and the sequential write data to be loaded into the assembly buffer. The
page assembly buffer to be accessed, either the 256-byte assembly buffer of the
Program Flash or the 128-byte assembly buffer of the Data Flash, is defined by the base
address of the command cycle. The location within the page assembly buffer is defined
by the internal address pointer (see command Enter Page Mode), which is incremented
after every load operation.
The page assembly buffer is a two-stage buffer, with the first stage (in Flash Interface
Module) representing a 2-word data latch for ECC generation, and a second stage,
representing the page assembly buffer, being filled with the double-words. After every
received double-word, an 8-bit error correction code ECC is automatically generated and
the double-word plus ECC code is loaded into the page assembly buffer. Not loaded
double-words in the assembly buffer are undefined (not cleared). Load Page operations
shall not be started before a preceding Write Page operation is terminated.
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...