![Infineon Technologies TC1784 User Manual Download Page 463](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446463.webp)
TC1784
Program Memory Unit (PMU)
User´s Manual
5-36
V1.1, 2011-05
PMU, V1.47
The sector erase algorithm includes an erase quality check that identifies incorrect
erased bits in the Flash sector. If re-erasing of weak bits or soft re-programming of over-
erased bits is unsuccessful, the verify error flag FSR.VER is set (see
).
If write protection is installed for the sector to be erased or in case of active read
protection (including global write protection, if not separately disabled for Data Flash),
the command is only executed when read/write protection has been disabled before,
using a ‘Disable Protection’ command sequence with two 32-bit passwords. If write
protection is not disabled when the Sector Erase command is received or if an OTP
protected sector is addressed, the command mode and thus the erase operation is not
started and the protection error flag PROER is set in the FSR.
Erase Physical Sector
The addressed physical sector in the Data Flash or in Program Flash is erased. Cannot
be used for 16K sectors in Program Flash. It is a six-cycle command sequence.
The sectors, which can be erased with this command, are the two Data Flash sectors
(banks) DS0 and DS1 and the two 64K physical sectors PS0 and PS4 in Program Flash
which comprise the logical 16K sectors (see
). This command shall not be used
for the large sectors above S7. Besides the different sector address definitions, the
command execution is analogous to the Erase Sector command (including erase quality
check).
The sector addresses (see
) have to be aligned, therefore all low order
address bits of SA are zero. All command cycle addresses, including the sector address
SA, have to be mapped into that space (PFlash or DFlash range) where the sector to be
erased is located.
The start of sector erase operation can be delayed by up to 5 msec if initiated while
another bank (DFlash or PFlash) is active with program operation.
Read accesses to Data Flash banks during busy state of Program Flash are not allowed.
Read accesses to one Data Flash bank while the other DFlash bank is busy with erase
operation is especially supported. A read access to the busy Flash bank is serviced with
a retry acknowledge until the addressed Flash bank is no more busy. A new command
sequence to the busy Flash bank is also serviced with a retry acknowledge. The busy
state of Flash bank is indicated in the FSR separately for PFlash and for bank 0 and
bank 1 of DFlash.
If read protection (includes global write protection with or without Data Flash) is installed,
the command is only executed when read protection has before been disabled using the
unlock command sequence ‘Disable Read Protection’ with two passwords, belonging to
user 0. If read protection is not disabled when the Erase Phys Sector command is
received, the command mode and thus the erase operation is not started, and the
protection error flag PROER is set in the FSR.
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 ...