| 数据搜索系统,热门电子元器件搜索 |
|
M50LPW002K 数据表(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M50LPW002K 数据表(HTML) 18 Page - STMicroelectronics |
|
18 / 39 page ![]() M50LPW002 18/39 LOW PIN COUNT (LPC) INTERFACE CONFIGURATION REGISTERS When the Low Pin Count Interface is selected sev- eral additional registers can be accessed. These registers control the protection status of the blocks and read the General Purpose Input pins. See Ta- ble 12 for an example of the Register Configura- tion map, valid for the boot memory, i.e. ID0-ID3 floating or driven LOW, VIL and A18-A21 set to ‘1’. Lock Registers The Lock Registers control the protection status of the blocks. Each block has its own Lock Register. Three bits within each Lock Register control the protection of each block, the Write Lock Bit, the Read Lock Bit and the Lock Down Bit. The Lock Registers can be read and written, though care should be taken when writing as, once the Lock Down Bit is set, ‘1’, further modifications to the Lock Register cannot be made until cleared, to ‘0’, by a reset or power-up. See Table 13 for details on the bit definitions of the Lock Registers. Write Lock. The Write Lock Bit determines whether the contents of the block can be modified (using the Program or Erase Command). When the Write Lock Bit is set, ‘1’, the block is write pro- tected; any operations that attempt to change the data in the block will fail and the Status Register will report the error. When the Write Lock Bit is re- set, ‘0’, the block is not write protected through the Lock Register and may be modified unless write protected through some other means. When VPP is less than VPPLK all blocks are pro- tected and cannot be modified, regardless of the state of the Write Lock Bit. If Top Block Lock, TBL, is Low, VIL, then the Top Block (Block 6) is write protected and cannot be modified. Similarly, if Write Protect, WP, is Low, VIL, then the blocks 0 to 5 are write protected and cannot be modified. After power-up or reset the Write Lock Bit is al- ways set to ‘1’ (write protected). Read Lock. The Read Lock bit determines whether the contents of the block can be read (from Read mode). When the Read Lock Bit is set, ‘1’, the block is read protected; any operation that attempts to read the contents of the block will read 00h instead. When the Read Lock Bit is reset, ‘0’, read operations in the block return the data pro- grammed into the block as expected. After power-up or reset the Read Lock Bit is al- ways reset to ‘0’ (not read protected). Lock Down. The Lock Down Bit provides a mechanism for protecting software data from sim- ple hacking and malicious attack. When the Lock Down Bit is set, ‘1’, further modification to the Write Lock, Read Lock and Lock Down Bits cannot be performed. A reset or power-up is required be- fore changes to these bits can be made. When the Lock Down Bit is reset, ‘0’, the Write Lock, Read Lock and Lock Down Bits can be changed. General Purpose Input Register The General Purpose Input Register holds the state of the General Purpose Input pins, GPI0- GPI4. When this register is read, the state of these pins is returned. This register is read-only and writ- ing to it has no effect. The signals on the General Purpose Input pins should remain constant throughout the whole Bus Read cycle in order to guarantee that the correct data is read. Table 12. Low Pin Count Register Configuration Map (1) Note: 1. This map is referred to the boot memory (ID0-ID3 floating or driven, LOW, VIL and A18-A21 set to ‘1’). Mnemonic Register Name Memory Address Default Value Access T_BLOCK_LK Top Block Lock Register (Block 6) FFBFC002h 01h R/W T_MINUS01_LK Top Block [-1] Lock Register (Block 5) FFBFA002h 01h R/W T_MINUS02_LK Top Block [-2] Lock Register (Block 4) FFBF8002h 01h R/W T_MINUS03_LK Top Block [-3] Lock Register (Block 3) FFBF0002h 01h R/W T_MINUS04_LK Top Block [-4] Lock Register (Block 2) FFBE0002h 01h R/W T_MINUS05_LK Top Block [-5] Lock Register (Block 1) FFBD0002h 01h R/W T_MINUS06_LK Top Block [-6] Lock Register (Block 0) FFBC0002h 01h R/W GPI_REG General Purpose Input Register FFBC0100h N/A R |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |