| поискавой системы для электроныых деталей |
|
AT25DF021A-DWFHT датащи(PDF) 25 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
AT25DF021A-DWFHT датащи(HTML) 25 Page - Renesas Technology Corp |
|
25 / 59 page ![]() DS-AT25DF021A-042 Rev. L Page 25 8/7/23 © 2023 Renesas Electronics AT25DF021A Datasheet 9.4 Unprotect Sector Issuing the Unprotect Sector command to a particular sector address resets the corresponding Sector Protection Register to the logical 0 state (see Table 3 for Sector Protection Register values). Every physical sector of the device has a corresponding single-bit Sector Protection Register that is used to control the software protection of a sector. Before the Unprotect Sector command can be issued, the Write Enable command must have been previously issued to set the WEL bit in the Status Register to a logical 1. To issue the Unprotect Sector command, the CS pin must first be asserted and the opcode of 39h must be clocked into the device. After the opcode has been clocked in, the three address bytes designating any address within the sector to be unlocked must be clocked in. Any additional data clocked into the device after the address bytes are ignored. When the CS pin is deasserted, the Sector Protection Register corresponding to the sector addressed by A23 - A0 is reset to the logical 0 state, and the sector itself is unprotected. Also, the WEL bit in the Status Register is reset back to the logical 0 state. The complete three address bytes must be clocked into the device before the CS pin is deasserted, and the CS pin must be deasserted on an even byte boundary (multiples of eight bits); otherwise, the device stops the operation, the state of the Sector Protection Register is unchanged, and the WEL bit in the Status Register is reset to a logical 0. As a safeguard against accidental or erroneous locking or unlocking of sectors, the Sector Protection Registers can themselves be locked from updates by using the SPRL (Sector Protection Registers Locked) bit of the Status Register (see the Status Register description for more details). If the Sector Protection Registers are locked, then any attempts to issue the Unprotect Sector command is ignored, and the device resets the WEL bit in the Status Register back to a logical 0 and return to the idle state once the CS pin has been deasserted. Figure 22. Unprotect Sector 9.5 Global Protect/Unprotect The Global Protect and Global Unprotect features can work in conjunction with the Protect Sector and Unprotect Sector functions. For example, a system can globally protect the entire memory array and then use the Unprotect Sector command to individually unprotect certain sectors and individually reprotect them later by using the Protect Sector command. Likewise, a system can globally unprotect the entire memory array and then individually protect certain sectors, as required. Performing a Global Protect or Global Unprotect is done by writing a certain combination of data to the Status Register using the Write Status Register command (see “Write Status Register” on page 35 for command execution details). The Write Status Register command is also used to modify the SPRL (Sector Protection Registers Locked) bit to control hardware and software locking. To perform a Global Protect, the appropriate WP pin and SPRL conditions must be met, and the system must write a logical 1 to bits 5, 4, 3, and 2 of the Status Register. Conversely, to perform a Global Unprotect, the same WP and SPRL conditions must be met but the system must write a logical 0 to bits 5, 4, 3, and 2 of the Status Register. Table 4 details the conditions necessary for a Global Protect or Global Unprotect to be performed. SCK CS SI SO MSB MSB 23 1 0 00111001 67 5 410 11 9 812 31 29 30 27 28 26 Opcode AAAA AAA AA A A A Address Bits A23-A0 High-Impedance |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |