![Infineon Technologies XC2200 User Manual Download Page 94](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439094.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Memory Organization
User’s Manual
3-33
V2.1, 2008-08
MemoryX2K, V1.3
“
” command, it is interpreted as password and the reset is not executed.
The 16-bit passwords are internally compared with the keywords out of the “Security
Page 0”. If one or more passwords are not identical to their related keywords, the
protected sectors remain in the locked state and a protection error (PROER) is indicated
in the Flash status register. In this case, a new “
” command or
a “
” command is only accepted after the next Application
Reset.
Note: During execution of the “Disable Read” (or Write) Protection command a
password compare error is only indicated after all four passwords have been
compared with the related keywords.
Note: This command sequence is also used to check the correctness of keywords
before the protection is confirmed in the Security Page 1. A wrong keyword is
indicated by the IMB_FSR flag PROER.
After correct execution of this command, the whole flash memory is unlocked and the
read protection disable bit RPRODIS is set in the Flash Status Register (IMB_FSR).
Erase and program operations on all sectors are then possible, if the flash memory was
also globally write protected (WPA=1), and if they are not separately write protected. The
read protection (including global write protection, if so selected) remains disabled until
the command “
Re-Enable Read/Write Protection
” is executed, or until the next
Application Reset (including HW and SW reset).
Disable Write Protection
Arguments: PWD
Definition:
MOV XX3C
H
, XXXX
H
MOV XX54
H
, PWD0
MOV XXAA
H
, PWD1
MOV XX54
H
, PWD2
MOV XXAA
H
, PWD3
MOV XX5A
H
, XX05
H
Timing: 6-cycle command that does not set any busy flag.
Description: Disable temporarily the global flash write protection or/and the sector write
protection of all protected sectors. The WPA bit in IMB_IMBCTR is reset.
This is a protected command sequence, using four user defined passwords to release
this command (as described above for the “
” command).
After correct execution of this command, all write-protected sectors are unlocked, which
is indicated in the Flash Status Register (IMB_FSR) with the WPRODIS bit. Erase and
program operations on all sectors are now possible, until
•
The command “
Re-Enable Read/Write Protection
” is executed, or