![Infineon Technologies TC1784 User Manual Download Page 495](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446495.webp)
TC1784
Program Memory Unit (PMU)
User´s Manual
5-68
V1.1, 2011-05
PMU, V1.47
The structure and layout of the three UC blocks is shown in
below, the
command “Write User Configuration Page” is described in
With the command sequence “Disable Sector Write Protection” a short-term disablement
of write protection for user 0 or user 1 is provided. This command unlocks temporarily all
locked sectors belonging to the user. The “Disable Sector Write Protection” command
sequence is a protected command, which is only processed by the command state
machine, if the included two passwords are correct. The disabled state of sector
protection is indicated in the Flash Status Register FSR with the WPRODIS bit of the
user 0 or/and user 1 (see
). For user 2 who owns the sectors with ROM
functionality, a disablement of write protection and thus re-programming is not possible.
Resumption of write protection after disablement is performed with the “Resume
Read/Write Protection” command, which is identical for user 0 and user 1.
Generally, sector write protection will remain installed as long as it is configured and
confirmed in the User Configuration Block belonging to the user. Erase of UC block and
re-program of UC pages can be performed up to 4 times, for user 0 and user 1 only. But
note, after execution of the Erase UC block command (which is still protected and
therefore requires the preceding disablement of write protection with the user’s
passwords), the complete protection configuration including the keywords of the specific
user (not user 2) is erased; thus, the sectors belonging to the user are totally unprotected
until the user’s UC pages are re-programmed. Only exception: sectors protected by
user 2 are locked for ever because the UCB2 can no more be erased after installation of
write protection in UCB2.
Sector specific write protection may be combined with read protection. In this case, after
execution of the command ‘Disable Sector Write Protection’ the protected sectors are
only unlocked if read protection is also disabled.
The write protection is hierarchically controlled, thus the user 0 has the highest level of
access rights with write access to all ‘his’ sectors (if they are not protected by user 2):
When user 0 disables the write protection for ‘his’ sectors, the write protection is also
disabled for those sectors, which are coincidently protected by user 1. But user 1 can
only disable his own protected sectors, if they are not coincidently protected by user 0
(and user 2). If one sector is coincidently protected by user 0 and 1, user 1 can only
write-access this sector if unlocked also with the passwords of user 0.
5.6.5.3
Protection Configuration Indication
The configuration of read/write/OTP protection is indicated with registers PROCON0,
PROCON1 and PROCON2, thus separately for every user, and it is generally indicated
in the status register FSR.
If write protection is installed for user 0 or 1 or OTP protection for user 2, for each sector
of the Program Flash it is indicated in the user-specific Protection Configuration register
PROCONx, if it is locked or unlocked for program or erase operations.
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 ...