| Electronic Components Datasheet Search |
|
PM0020 Datasheet(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0020 Datasheet(HTML) 25 Page - STMicroelectronics |
|
25 / 87 page ![]() PM00020 STR91xFA Flash memory 25/87 You can read the Bank Status register after the erase suspend is issued. The PECS and ESS bits in the Bank Status register are set to ’1’ when the erase operation has been suspended. The ESS bit is cleared if the erase is completed or in progress. The valid commands while erase is suspended are: Program/Erase Resume, Program, Read Array, Read Status Register, Read Electronic Signature, Sector Protect, and Sector Unprotect. You can protect the sector being erased by issuing the Sector Protect command. During Erase Suspend, the Flash goes into standby mode which reduces power consumption. Erase is aborted if the device is powered off. Program suspend The Program Suspend command freezes the ongoing programming operation. The PSS bit in the Bank Status Register is set to '1' (within 5µs) if the program operation has been suspended. The PSS bit is cleared if the program operation is completed or in progress. The valid commands while program is suspended are: Program/Erase Resume, Read Array, Read Status Register, Read Electronic Signature. During program suspend mode, the Flash goes into standby mode which reduces power consumption. The Program operation is aborted if the device is powered off. 1.12.8 LOTP lock OTP sector (C0h) The Lock OTP command allows you to modify the LOCK bit in the Protection Level 2 Register When it is set, the OTP sector is protected from any further write access. Refer to Section 1.13.2. To program the LOCK bit: 1. Write a Write OTP command (C0h) to any word address in Bank 1. 2. Write the data value 01h to any word address in Bank 1 with 08h in the low byte of the address. 3. After writing the data, reading any address within the bank 1 will return the Bank 1 Status Register data. – While programming is in progress the PECS bit in the Bank 1 Status Register is ‘0’. When programming is completed the PECS bit is ‘1’. – The PS bit in the Bank 1 Status Register returns ‘1’ if there has been a programming error. – If the OTP sector is already locked, the program operation aborts and the SP bit in the Status Register returns ‘1’ 4. While programming is ongoing, Bank 1 accepts only Read Status Register (70h) and Program/Erase Suspend (B0h) commands. 5. At the end of the Lock OTP Sector operation: – Write a Clear Status Register (50h) command to the bank to reset the Status Register. – Write a Read Array (FFh) command to return to normal operations. 1.12.9 WOTP write OTP sector (C0h) The Write OTP command programs a halfword in the OTP sector. Once an OTP halfword is written, it cannot be erased. The other “unprogrammed” halfword can still be written at a |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |