TC1796
System Units (Vol. 1 of 2)
Program Memory Unit
User’s Manual 7-22 V2.0, 2007-07
PMU, V2.0
7.2.5.7 Erase User Configuration Block Command
This six-cycle Erase User Configuration Block command is used to erase a UCB.
The Erase User Configuration Block command sequence is identical with the Erase
Sector command sequence except cycle 6. Cycle 6 of the Erase User Configuration
Block command provides the base address of the UCB to be erased.
With the last cycle of the Erase User Configuration command, Command Mode is
entered and the following status flags are updated:
• FSR.ERASE is set, indicating that a erase operation is running.
• FSR.PBUSY is set, indicating that the erase operation is running in the UCB.
This command can only be executed after read protection and/or sector write protection
has been disabled. If protection is not disabled when the Erase User Configuration Block
command is received, the protection error flag FSR.PROER is set, the Command Mode
is not entered, and the erase operation is not started.
After a Erase User Configuration Block command, a new protection configuration
(including keywords and protection confirmation code) can be written to the pages of the
user configuration block. But note that the user configuration blocks UCB0 and UCB1
can only be modified up to 4 times during the lifetime of a TC1796 device. UCB2 can be
programmed only once.
Note: UCB2 is OneTime-Programmable (OTP). If sector write protection is installed and
confirmed in UCB2, this block can never be erased again. UCB2 can only be
erased before the confirmation of OTP write protection.
Table 7-11 Erase User Configuration Block Command
Cycle No. Address Data
Cycle 1 A000 5554
H
XXXX XXAA
H
Cycle 2 A000 AAA8
H
XXXX XX55
H
Cycle 3 A000 5554
H
XXXX XX80
H
Cycle 4 A000 5554
H
XXXX XXAA
H
Cycle 5 A000 AAA8
H
XXXX XX55
H
Cycle 6 UCB0 A000 0000
H
XXXX XXC0
H
UCB1 A000 0400
H
UCB2 A000 0800
H