| Electronic Components Datasheet Search |
|
M58PR256J Datasheet(PDF) 102 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M58PR256J Datasheet(HTML) 102 Page - STMicroelectronics |
|
102 / 114 page ![]() Flowcharts and pseudo codes M58PR256J, M58PR512J 102/114 Figure 25. Main Array and EFA locking operations flowchart and pseudo code 1. Any address within the bank can equally be used. Write 01h, D0h or 2Fh AI10518 Read Block Lock States YES NO Locking change confirmed? Start Write 60h (Main Array) or 64h (EFA) (1) locking_operation_command (address, lock_operation) { /* EFA_locking_operation_command (address, lock_operation) { */ writeToFlash (address, 0x60) ; /*configuration setup*/ /* writeToFlash (address, 0x64) */ /* 60h is the command for Locking Operations on the array while 64h is the command for Locking Operations on the EFA */ /* see note (1) */ if (readFlash (address) ! = locking_state_expected) error_handler () ; /*Check the locking state (see Read Block Signature table )*/ writeToFlash (address, 0xFF) ; /*Reset to Read Array mode*/ /*see note (1) */ } Write FFh (1) Write 90h (1) End if (lock_operation==LOCK) /*to protect the block*/ writeToFlash (address, 0x01) ; else if (lock_operation==UNLOCK) /*to unprotect the block*/ writeToFlash (address, 0xD0) ; else if (lock_operation==LOCK-DOWN) /*to lock the block*/ writeToFlash (address, 0x2F) ; writeToFlash (address, 0x90) ; /*see note (1) */ |
|
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 |