EVAL-ADUC7032QSPZ Analog Devices Inc, EVAL-ADUC7032QSPZ Datasheet - Page 29

EVAL DEV QUICK START ADUC7032

EVAL-ADUC7032QSPZ

Manufacturer Part Number
EVAL-ADUC7032QSPZ
Description
EVAL DEV QUICK START ADUC7032
Manufacturer
Analog Devices Inc
Series
QuickStart™ PLUS Kitr
Type
MCUr
Datasheet

Specifications of EVAL-ADUC7032QSPZ

Contents
Evaluation Board, Power Supply, Cable, Software, Emulator and Documentation
For Use With/related Products
ADuC7032
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
In summary, there are three levels of memory protection:
Sequence Example
The sequence to write the key and set permanent protection is illustrated in the following example, which protects writing Page 4 and Page 5
of the Flash/EE:
FEExPRO = 0xFFFFFFFB;
FEExADR = 0x66BB;
FEExDAT = 0xAA55;
FEExMOD = 0x0048;
FEExCON = 0x0C;
while (FEExSTA & 0x04){}
Temporary protection can be set and removed by writing
directly into the FEExHID MMR. This register is volatile;
therefore, protection is in place only while the part remains
powered on. Protection is not reloaded after a power cycle.
Keyed permanent protection can be set via FEExPRO,
which is used to lock the protection configuration. The
software key used at the start of the required FEExPRO
write sequence is saved once and must subsequently be
used for any subsequent access to the FEExHID or
FEExPRO MMRs. A mass erase sets the key back to
0xFFFF but also erases the entire user code space.
Permanent protection can be set via FEExPRO, similarly to
keyed permanent protection. The only difference is that
the software key used is 0xDEADDEAD. Once the
FEExPRO write sequence is saved, only a mass erase sets
the key back to 0xFFFFFFFF. This mass erase also erases
the entire user code space.
// Protect Page 4 and Page 5
// 32-bit key value Bits[31:16]
// 32-bit key value Bits[15:0]
// Lock security sequence
// Write key command
// Wait for command to finish
Rev.0 | Page 29 of 116
Sequence to Write the Key and Set Permanent Protection
1.
2.
3.
4.
Write in FEExPRO corresponding to the pages to be
protected.
Write the new (user-defined) 32-bit key in FEExADR
Bits[31:16] and FEExDAT Bits[15:0].
Write 1,0 in FEExMOD Bits[6:5] and set FEExMOD Bit 3.
Run the write key command 0x0C in FEExCON.
ADuC7032-8L

Related parts for EVAL-ADUC7032QSPZ