TC1784
Program Memory Unit (PMU)
User´s Manual
5-33
V1.1, 2011-05
PMU, V1.47
In case of a completely filled page assembly buffer, an overrun condition is sampled
during Load Page operations. In this case, the write data causing the overflow condition
are lost. The overflow condition is indicated by the sequence error flag and by an error
interrupt (if enabled), but the execution of a following Write Page command is not
suppressed (the page mode is not aborted). When a Load Page command is received
and the Flash is
not
in page mode, a sequence error is reported in FSR with SQER flag.
A sequence error is also indicated if during page mode a new Enter Page command is
received. In case of a Reset to Read command during page mode, or in case of a system
reset, the page mode is aborted (but the write data in the page assembly buffer are not
cleared).
Note: A sequence error generates an error interrupt if enabled in the configuration
register FCON.
Write Page
The contents of the selected page assembly buffer (the whole page) is written
(programmed) into the Flash array at page address PA. The addressed Flash type has
to be the same as in the Enter Page Mode command (otherwise, a sequence error is
reported instead of execution).
The complete
•
256-byte Program Flash assembly buffer and the 32 ECC-bytes, or the
•
128-byte Data Flash assembly buffer and the 16 ECC-bytes,
are programmed to Flash in one program operation, autonomously controlled by the
Flash array module.
The bits
•
A21 to A8 of PA (address of 4. cycle) define the page address which is the location
of the page within the Program Flash
•
A15 to A7 of PA (address of 4. cycle) define the page address and thus the location
of the page within that Data Flash bank, which is addressed with A16.
The page address has to be aligned, therefore the bits A7–A0 (Data Flash: A6 to A0) of
PA have to be zero. The data pattern of the 4. cycle is fixed (AA
H
) and only used for
confirmation of the page address.
If the page assembly buffer is not completely filled when receiving the command, a
sequence error is reported, however the command is executed. If the 2-word data latch
for ECC generation (in FIM) is not completely filled, the word is lost and again a
sequence error is reported.
With the Write Page command, the page mode is terminated, indicated by resetting the
related PAGE flag and — if the command is accepted — the command mode is entered
and the PROG flag in the status register FSR is activated. The Write Page command is
only executed (PROG is only set), if the addressed Flash bank is not busy; otherwise,
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...