ADUC7023 Analog Devices, ADUC7023 Datasheet - Page 37

no-image

ADUC7023

Manufacturer Part Number
ADUC7023
Description
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC7023

Mcu Core
ARM7 TDMI
Mcu Speed (mips)
40
Sram (bytes)
8192Bytes
Gpio Pins
20
Adc # Channels
12
Other
PWM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC7023BCBZ62I
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC7023BCBZ62I-R7
Manufacturer:
WESTCODE
Quantity:
123
Part Number:
ADUC7023BCBZ62I-R7
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC7023BCBZ62I-R7
Quantity:
9 000
Part Number:
ADUC7023BCP6Z62I
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC7023BCP6Z62I
Quantity:
10 000
Part Number:
ADUC7023BCP6Z62IRL
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC7023BCPZ62I
Manufacturer:
ADI
Quantity:
2 000
Part Number:
ADUC7023BCPZ62I
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC7023BCPZ62I-R7
Quantity:
12 241
SECURITY
The 62 kB of Flash/EE memory available to the user can be read
and write protected.
Bit 31 of the FEEPRO/FEEHIDE MMR (see Table 33) protects
the 62 kB from being read through JTAG programming mode.
The other 31 bits of this register protect writing to the flash
memory. Each bit protects four pages, that is, 2 kB. Write
protection is activated for all types of access.
Three Levels of Protection
Protection can be set and removed by writing directly into
FEEHIDE MMR. This protection does not remain after reset.
Protection can be set by writing into FEEPRO MMR. It only
takes effect after a save protection command (0x0C) and a reset.
The FEEPRO MMR is protected by a key to avoid direct access.
The key is saved once and must be entered again to modify
FEEPRO. A mass erase sets the key back to 0xFFFF but also
erases all the user code.
Flash can be permanently protected by using the FEEPRO
MMR and a particular value of key: 0xDEADDEAD. Entering
the key again to modify the FEEPRO register is not allowed.
Sequence to Write the Key
1.
2.
3.
4.
5.
Table 30. FEESTA MMR Bit Designations
Bit
7 to 6
5
4
3
2
1
0
Write the bit in FEEPRO corresponding to the page to be
protected.
Enable key protection by setting Bit 6 of FEEMOD (Bit 5
must equal 0).
Write a 32-bit key in FEEADR, FEEDAT.
Run the write key command 0x0C in FEECON; wait for
the read to be successful by monitoring FEESTA.
Reset the part.
Description
Reserved.
Reserved.
Reserved.
Flash interrupt status bit.
This bit is set automatically when an interrupt occurs, that is, when a command is complete and the Flash/EE interrupt enable bit
in the FEEMOD register is set.
This bit is cleared when reading FEESTA register.
Flash/EE controller busy.
This bit is set automatically when the controller is busy.
This bit is cleared automatically when the controller is not busy.
Command fail.
This bit is set automatically when a command is not completed.
This bit is cleared automatically when reading FEESTA register.
Command pass.
This bit is set by the MicroConverter when a command is completed.
This bit is cleared automatically when reading the FEESTA register.
Rev. B | Page 37 of 96
To remove or modify the protection, the same sequence is used
with a modified value of FEEPRO. If the key chosen is the value
0xDEAD, the memory protection cannot be removed. Only a mass
erase unprotects the part, but it also erases all user code.
The sequence to write the key is illustrated in the following
example (this protects writing Page 4 to Page 7 of the Flash):
FEEPRO=0xFFFFFFFD;
FEEMOD=0x48; //Write key enable
FEEADR=0x1234;
FEEDAT=0x5678;
FEECON= 0x0C;
The same sequence should be followed to
protect the part permanently with
0xDEAD and FEEDAT = 0xDEAD
FLASH/EE CONTROL INTERFACE
Serial and JTAG programming use the Flash/EE control interface,
which includes the eight MMRs outlined in this section.
FEESTA Register
Name:
Address:
Default value:
Access:
Function:
FEESTA
0xFFFFF800
0x20
Read
FEESTA is a read-only register that reflects the
status of the flash control interface as
described in Table 30.
//Protect Page 4 to
//16 bit key value
//16 bit key value
//Write key command
Page 7
.
FEEADR =
ADuC7023

Related parts for ADUC7023