欢迎访问ic37.com |
会员登录 免费注册
发布采购

71M6543H 参数 Datasheet PDF下载

71M6543H图片预览
型号: 71M6543H
PDF下载: 下载PDF文件 查看货源
内容描述: 可选增益1或8的一个电流电能表计量芯片的补偿 [Selectable Gain of 1 or 8 for One Current Energy Meter ICs Metrology Compensation]
分类和应用:
文件页数/大小: 157 页 / 2164 K
品牌: MAXIM [ MAXIM INTEGRATED PRODUCTS ]
 浏览型号71M6543H的Datasheet PDF文件第44页浏览型号71M6543H的Datasheet PDF文件第45页浏览型号71M6543H的Datasheet PDF文件第46页浏览型号71M6543H的Datasheet PDF文件第47页浏览型号71M6543H的Datasheet PDF文件第49页浏览型号71M6543H的Datasheet PDF文件第50页浏览型号71M6543H的Datasheet PDF文件第51页浏览型号71M6543H的Datasheet PDF文件第52页  
71M6543F/H and 71M6543G/GH Data Sheet  
The page erase sequence is:  
Write the page address to FLSH_PGADR[5:0] (SFR 0xB7[7:2]).  
Write the pattern 0x55 to the FLSH_ERASE register (SFR 0x94).  
Bank-Switching in the 71M6543G/GH  
The 128 KB program memory in the 71M6543G/GH consists of a fixed lower bank of 32 KB, addressable  
at 0x0000 to 0x7FFF plus an upper banked area of 32 KB, addressable at 0x8000 to 0xFFFF. The I/O  
RAM register FL_BANK[1:0] (SFR 0xB6[1:0]) is used to switch four memory banks of 32 KB each into the  
address range from 0x8000 to 0xFFFF. Note that when FL_BANK[1:0] (SFR 0xB6[1:0]) = 0, the upper  
bank is the same as the lower bank.  
Table 40: Bank Switching with FL_BANK[1:0] (SFR 0xB6[1:0])in the 71M6543G/GH  
71M6543G/GH  
FL_BANK[1:0]  
Address Range for Lower  
Bank (0x0000-0x7FFF)  
Address Range for Upper  
Bank (0x8000-0xFFFF)  
00  
01  
10  
11  
0x0000-0x7FFF  
0x0000-0x7FFF  
0x0000-0x7FFF  
0x0000-0x7FFF  
0x0000-0x7FFF  
0x8000-0xFFFF  
0x10000-0x17FFF  
0x18000-0x1FFFF  
In the 71M6543G/GH, the address that the FLSH_PGADR[6:0] (SFR 0xB7[7:1]) points to in the program  
address space can reference different flash memory locations, depending on the setting of the  
FL_BANK[1:0] (SFR 0xB6[1:0]) bits. The CE_LCTN[6:0] (I/O RAM 0x2109[6:0]) field on the 71M6543G/GH  
on the other hand, points directly to a location in the flash memory are not affected by the FL_BANK[1:0]  
(SFR 0xB6[1:0]) bits  
Program Security  
When enabled, the security feature limits the ICE to global flash erase operations only. All other ICE  
operations, such as reading via the SPI or ICE port, are blocked. This guarantees the security of the user’s  
MPU and CE program code. Security is enabled by MPU code that is executed in a 64 CKMPU cycle  
pre-boot interval before the primary boot sequence begins. Once security is enabled, the only way to  
disable it is to perform a global erase of the flash, followed by a chip reset.  
The first 60 cycles of the MPU boot code are called the pre-boot phase because during this phase the  
ICE is inhibited. A read-only status bit, PREBOOT (SFR 0xB2[7]), identifies these cycles to the MPU.  
Upon completion of pre-boot, the ICE can be enabled and is permitted to take control of the MPU.  
The security enable bit, SECURE (SFR 0xB2[6]), is reset whenever the chip is reset. Hardware associated  
with the bit allows only ones to be written to it. Thus, pre-boot code may set SECURE to enable the security  
feature but may not reset it. Once SECURE is set, the pre-boot and CE code are protected from erasure,  
and no external read of program code is possible.  
Specifically, when the SECURE bit is set, the following applies:  
The ICE is limited to bulk flash erase only.  
Page zero of flash memory, the preferred location for the user’s pre-boot code, may not be  
page-erased by either MPU or ICE. Page zero may only be erased with global flash erase.  
Write operations to page zero, whether by MPU or ICE are inhibited.  
The 71M6543 also includes hardware to protect against unintentional Flash write and erase. To enable flash  
write and erase operations, a 4-bit hardware key that must be written to the FLSH_UNLOCK[3:0] field. The  
key is the binary number ‘0010’. If FLSH_UNLOCK[3:0] is not ‘0010’, the Flash erase and write operation is  
inhibited by hardware. Proper operation of this security key requires that there be no firmware function that  
writes ‘0010’ to FLSH_UNLOCK[3:0]. The key should be written by the external SPI master, in the case of  
SPI flash programming (SFM mode), or through the ICE interface in the case of ICE flash programming.  
When a boot loader is used, the key should be sent to the boot load code which then writes it to  
48  
© 2008–2011 Teridian Semiconductor Corporation  
v1.2