参数资料
型号: ADE7166ASTZF16
厂商: Analog Devices Inc
文件页数: 113/152页
文件大小: 0K
描述: IC ENERGY METER 1PHASE 64LQFP
标准包装: 1
输入阻抗: *
测量误差: *
电压 - 高输入/输出: *
电压 - 低输入/输出: *
电流 - 电源: *
电源电压: *
测量仪表类型: *
工作温度: *
安装类型: 表面贴装
封装/外壳: 64-LQFP
供应商设备封装: 64-LQFP(10x10)
包装: 托盘
ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
PROTECTING THE FLASH MEMORY
The sequence for writing the flash protection follows:
Two forms of protection are offered for this flash memory: read
protection and write/erase protection. The read protection ensures
that any pages that are read protected cannot be read by the end
user. The write protection ensures that the flash memory cannot
be erased or written over. This protects the end system from
tampering and can prevent the code from being overwritten in the
event of a runaway program.
Write/erase protection is individually selectable for all 32 pages.
Read protection is selected in groups of four pages (see Figure
94 for the groupings). The protection bits are stored in the last
flash memory locations, Address 0x3FFA through Address
0x3FFF (see Figure 96); four bytes are reserved for write/erase
protection, one byte is for read protection, and another byte to
set the flash protection key (PROTKY, Address 0xBB). The user
must enable write/erase protection for the last page, at a
minimum, for the entire protection scheme to work.
Note that the read protection does not prevent MOVC
commands from being executed within the code.
There is an additional layer of protection offered by a protection
security key (PROTKY). The user can set up a protection
security key so that the protection scheme cannot be changed
without this key. When the protection key has been configured,
it cannot be modified.
Enabling Flash Protection by Code
1.
2.
3.
4.
5.
Set up the EADRH, EADRL, PROTB1, and PROTB0 SFRs
with the write/erase protection bits. When erased, the
protection bits default to 1, like any other bit of flash
memory. The default protection setting is for no protection.
To enable protection, write a 0 to the bits corresponding to
the pages that should be protected.
Set up the PROTR SFR with the read protection bits. Note
that every read protection bit protects four pages. To enable
the read protection bit, write a 0 to the bits that should be
read protected.
To enable the protection key, write to the PROTKY SFR.
If enabled, the protection key is required to modify the
protection scheme. The protection key, Flash Memory
Address 0x3FFA, defaults to 0xFF; if the PROTKY register
is not written to, it remains 0xFF. If the protection key is
written to, the PROTKY SFR must be written with this
value every time the protection functionality is accessed.
Note that after the protection key is configured, it cannot
be modified. Also note that the most significant bit of
Address 0x3FFA is used to enable a lock mechanism for
the watchdog settings (see the Watchdog Timer section for
more information).
Run the protection command by writing 0x08 to the
ECON SFR.
Reset the chip to activate the new protection.
The protection bytes in the flash can be programmed using the
flash controller command and programming ECON to 0x08. In
this case, the EADRH, EADRL, PROTB1, and PROTB0 bytes
are used to store the data to be written to the 32 bits of write
protection. Note that the EADRH and EADRL registers are not
used as data pointers here but to store write protection data.
To enable read and write/erase protection for the last page only,
use the following 8052 code. Writing the flash protection
command to the ECON SFR initiates programming of the
protection bits in the flash.
; enable read protection on the last four
pages only
EADRH
EADRL
PROTB1
0x3FFF
0x3FFE
WP
31
WP
23
WP
WP
30
WP
22
WP
WP
29
WP
21
WP
WP
28
WP
20
WP
WP
27
WP
19
WP
WP
26
WP
18
WP
WP
25
WP
17
WP
WP
24
WP
16
WP
MOV PROTR,#07Fh
; set up a protection key of 0A3h. This
command can be
PROTB0
0x3FFD
0x3FFC
15
WP
7
14
WP
6
13
WP
5
12
WP
4
11
WP
3
10
WP
2
9
WP
1
8
WP
0
; omitted to use the default protection key
of 0xFF
PROTR
RP RP RP RP RP
0x3FFB 31:28 27:24 23:20 19:16 15:12
RP
11:8
RP
7:4
RP
3:0
MOV PROTKY,#0A3h
PROTKY
0x3FFA
0x3FF9
WDOG
LOCK
PROTECTION KEY
; write the flash key to the FLSHKY register
to enable flash
; access. The flash access key is not
configurable.
MOV FLSHKY,#3Bh
0x3E00
Figure 96. Flash Protection in Page 31
; write flash protection command to the ECON
register
MOV ECON,#08h
Rev. B | Page 113 of 1 52
相关PDF资料
PDF描述
GMM06DTMI CONN EDGECARD 12POS R/A .156 SLD
ISL2101AAR3Z-T IC DVR HALF-BRDG HF 100V 2A 9DFN
GSM06DTMI CONN EDGECARD 12POS R/A .156 SLD
LQW18AN15NJ00D INDUCTOR 15NH 600MA 0603
ADE7752AARZ-RL IC ENERGY METERING 3PHASE 24SOIC
相关代理商/技术参数
参数描述
ADE7166ASTZF16-RL 功能描述:IC ENERGY METER 1PHASE 64LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 能量测量 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:*
ADE7166ASTZF8 功能描述:IC ENERGY METER 1PHASE 64LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 能量测量 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:*
ADE7166ASTZF8-RL 功能描述:IC ENERGY METER 1PHASE 64LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 能量测量 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:*
ADE7169 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7169ACPF16 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver