| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
M35080-MN6T Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M35080-MN6T Datasheet(HTML) 7 Page - STMicroelectronics |
|
7 / 18 page ![]() 7/18 M35080 Software Protected Mode (SPM) The act of writing a non-zero value to the BP1 and BP0 bits causes the Software Protected Mode (SPM) to be started. All attempts to write a byte or page in the protected area are ignored, even if the Write Enable Latch is set. However, writing is still allowed in the unprotected area of the memory ar- ray and to the SRWD, BP1 and BP0 bits of the sta- tus register, provided that the WEL bit is first set. Hardware Protected Mode (HPM) The Hardware Protected Mode (HPM) offers a higher level of protection, and can be selected by setting the SRWD bit after pulling down the W pin or by pulling down the W pin after setting the SRWD bit. The SRWD is set by the WSR instruc- tion, provided that the WEL bit is first set. The set- ting of the SRWD bit can be made independently of, or at the same time as, writing a new value to the BP1 and BP0 bits. Once the device is in the Hardware Protected Mode, the data bytes in the protected area of the memory array, and the content of the status regis- ter, are write-protected. The only way to re-enable writing new values to the status register is to pull the W pin high. This cause the device to leave the Hardware Protected Mode, and to revert to being in the Software Protected Mode. (The value in the BP1 and BP0 bits will not have been changed). Further details of the operation of the Write Protect pin (W) are given earlier, on page 2. Typical Use of HPM and SPM The W pin can be dynamically driven by an output port of a microcontroller. It is also possible, though, to connect it permanently to VSS (by a sol- der connection, or through a pull-down resistor). The manufacturer of such a printed circuit board can take the memory device, still in its initial deliv- ery state, and can solder it directly on to the board. After power on, the microcontroller can be instruct- ed to write the protected data into the appropriate area of the memory. When it has finished, the ap- propriate values are written to the BP1, BP0 and SRWD bits, thereby putting the device in the hard- ware protected mode. An alternative method is to write the protected da- ta, and to set the BP1, BP0 and SRWD bits, before soldering the memory device to the board. Again, this results in the memory device being placed in its hardware protected mode. If the W pin has been connected to VSS by a pull- down resistor, the memory device can be taken out of the hardware protected mode by driving the W pin high, to override the pull-down resistor. If the W pin has been directly soldered to VSS, there is only one way of taking the memory device out of the hardware protected mode: the memory device must be de-soldered from the board, and connected to external equipment in which the W pin is allowed to be taken high. Read Operation The chip is first selected by holding S low. The se- rial one byte read instruction is followed by a two byte address (A15-A0), each bit being latched-in during the rising edge of the clock (C). The data stored in the memory, at the selected address, is shifted out on the Q output pin. Each bit is shifted out during the falling edge of the clock (C) as shown in Figure 5. The internal address counter is automatically in- cremented to the next higher address after each byte of data has been shifted out. The data stored in the memory, at the next address, can be read by successive clock pulses. When the highest ad- dress is reached, the address counter rolls over to “0000h”, allowing the read cycle to be continued indefinitely. The read operation is terminated by deselecting the chip. The chip can be deselected at any time during data output. If a read instruction is received during a write cycle, it is rejected, and the memory device deselects itself. Byte Write Operation Before any write can take place, the WEL bit must be set, using the WREN instruction, as shown in Figure 8. The write state is entered by selecting the chip, issuing three bytes of instruction and ad- dress, and one byte of data. Chip Select (S) must remain low throughout the operation, as shown in Figure 9. The device must be deselected just after the eighth bit of the data byte has been latched in, Table 7. Write Protected Block Size Note: 1. Except for the first sixteen pairs of bytes (see Table 6). Status Register Bits Protected Block Array Addresses Protected BP1 BP0 M35080 00 none 1 none 1 0 1 Upper quarter 0300h - 03FFh 1 0 Upper half 0200h - 03FFh |
|
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |