| Electronic Components Datasheet Search |
|
PM0020 Datasheet(PDF) 26 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0020 Datasheet(HTML) 26 Page - STMicroelectronics |
|
26 / 87 page ![]() STR91xFA Flash memory PM00020 26/87 later time. If the LOCK bit in the Protection Level 2 Register is set, the OTP sector is protected from any further write access. Refer to Section 1.13.2. You can modify the LOCK bit using the LOTP command (see Section 1.12.8) or via the JTAG interface. To program a halfword in the OTP sector: 1. Write a Write OTP command (C0h) to any word address in Bank 1. 2. Write the low or high halfword to be programmed to any address in Bank 1 using the low byte of the word address to select the OTP word. Refer to Writing the OTP locations can be non-sequential. 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 protected, 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 program 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.10 PER program/erase resume (D0h) Erase resume If an Erase Suspend command was previously executed, the erase operation may be resumed by writing the D0h command to a word address within the suspended bank. When erase resumes: ● The PECS and ESS bits in the Bank Status register are cleared. ● Read operations to the bank being erased will return the Bank Status Register. Erase cannot resume until program operations initiated during Erase Suspend have completed. You can also nest suspends as follows: 1. Suspend erase in the first bank 2. Start programming in the second or in the same bank 3. Suspend programming 4. Then read from the second or the same bank Program resume If a Program Suspend instruction was previously executed, the Program operation may be resumed by issuing the D0h command using an address within the suspended bank. When programming resumes, ● The PECS and PSS bits in the Bank Status register are cleared. ● Read operations to the bank being programmed will return the Bank Status Register. |
|
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 |