![Infineon Technologies TC1784 Скачать руководство пользователя страница 464](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446464.webp)
TC1784
Program Memory Unit (PMU)
User´s Manual
5-37
V1.1, 2011-05
PMU, V1.47
If the Erase Phys Sector operation is used to erase a physical 64K sector of
Program Flash (including the 16K sectors), this operation is only executed, if none of its
16K sectors is write protected or if protection is disabled (user 0 and/or user 1). If write
protection is not disabled, or if one or more of the included 16K sectors are OTP
protected, the erase operation is not started, and the protection error flag PROER is set.
The Erase Phys Sector operation in one DFlash bank can be executed simultaneously
to program operation in the other Data Flash bank or/and to read accesses to
Program Flash.
Erase User Configuration Block
The addressed user configuration block (UCB 0–2) is erased. A UC block has the
capacity of four pages (1 Kbyte).
Note: If sector write protection is configured and confirmed (thus installed) in UCB 2, this
block can never be erased again. As its write protected sectors, UCB 2 is only one
time programmable (OTP). UCB 2 can only be erased before installation of OTP
write protection.
The addressed UC block belongs to the configuration sector and not to the universal
Flash array. This command can only be executed after disabling of sector write
protection of the addressed UCB (representing the user’s protection level), and/or after
disabling of read protection. If protection is not disabled when the Erase UC Block
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.
The UC block to be erased is addressed by UCBA (UCB address) in the last command
cycle to the Program Flash. The bits A21 to A10 of UCBA (address of 6. cycle) define
the UC block address and thus the two wordlines (four pages) of array to be erased. The
UCB address has to be aligned, therefore the bits A9 to A0 of UCBA have to be zero.
The addresses of all cycles of the command sequence including the UC block address
have to be mapped to the base address of Program Flash.
The command execution is analogous to an Erase Sector operation in Program Flash.
With the last cycle of the Erase UC Block command, the command mode is entered,
indicated by activation of the ERASE and the PBUSY flag in the status register FSR.
Read accesses to Data Flash banks during busy state of Program Flash are not allowed.
A read access to the busy Flash is serviced with a retry acknowledge until the addressed
Flash bank is no more busy.
Note: If the erase operation is aborted (e.g. by a reset), UCB-data and the whole config
sector may be disturbed and the protection can possibly no more be disabled. In
this case, also the init code may be affected, resulting in a fatal startup error.
After the erase operation, the new protection configuration (including keywords and
protection confirmation code) can be written to the UC pages (see description in
Содержание 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 ...