![Infineon Technologies TC1784 User Manual Download Page 514](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446514.webp)
TC1784
Program Memory Unit (PMU)
User´s Manual
5-87
V1.1, 2011-05
PMU, V1.47
program memory, e.g. in the scratchpad SPRAM, or in the other Flash module. But
user code, that writes command sequences to the Data Flash, can be located in and
executed from the Program Flash in the same Flash module.
•
The write cycles, belonging to a command sequence, must access the Flash in its
non-cached address space (otherwise they will remain in the data cache).
Additionally, it is recommended to include a dummy read (ld.w) instruction to a PMU
register (e.g. PMU_ID) after the last write cycle of a command sequence to flush the
write buffers.
•
The caches (data cache in DMI “DCache” and instruction cache in PMI “ICACHE”) as
well as the data line buffer in the DMI “DLB” are not automatically invalidated nor
updated after changing Flash content by erasing or programming. It is therefore
recommended to either invalidate them actively or read the Flash content via the non-
cached address range. Otherwise old data might be delivered from these buffers.
– The ICACHE is invalidated by writing PMI_CON1.PCINV to ‘1’.
– When the DCache is enabled it is invalidated (i.e. all clean lines) by writing
OVC_OCON.DCINVAL to ‘1’. This invalidates also the DLB.
– When the DCache is disabled the DLB works as one-line data cache. When it is
clean it is invalidated by writing OVC_OCON.DCINVAL to ‘1’. It can be also
invalidated by reading a different memory address or using the instruction
“cachei.wi”.
– Generally all buffers are invalidated by a reset.
•
After change of margin level, a wait time of min. 10 µsec. is necessary for sense amp
adjustment before read operations are executed with the modified margins.
•
After installation of OTP write protection for sectors with ROM functionality or after
installation of tuning protection, accesses to Flash SFRs are no more possible; this
greatly reduces the FAR analysis possibility.
•
If write protection is configured in the user’s UCB page 0 but not confirmed via
page 2, the protection is only partially enabled after next reset (see
•
The selection of wait states for PFlash and DFlash accesses must be controlled via
the FCON register by the user in relation to his application frequency (see
•
The performance of data read accesses to the Program Flash can be influenced by
support of buffer hit or cache hit mechanisms in PMU and DMI; therefore data
locations in Flash shall be located sequentially, so that the read buffer in PMU (32
bytes) and the cache/buffer line in DMI (16 bytes) are optimally used. This has
especially to be considered in devices with more than one PMU, where data
accesses can be isolated from instruction accesses by proper assignments to
different PMUs.
For customer Flash tests it may be wanted to perform checkerboard tests of Program
Flash or Data Flash. Programming checkerboard patterns into the Flash can simply be
done, because a Flash wordline always consists of two sequential and bitwise-
interleaved pages with according even and odd page addresses (see
). Thus,
it is only necessary to program complete pages either with ones or zeros to get a
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 ...