Electronic Components Datasheet Search
  English  ▼

X  

M58PR256J Datasheet(PDF) 97 Page - STMicroelectronics

Part # M58PR256J
Description  256 Mbit or 512 Mbit (x16, Multiple Bank, Multilevel, Burst) 1.8 V supply Flash memories
PDF  114 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

M58PR256J Datasheet(HTML) 97 Page - STMicroelectronics

Back Button M58PR256J Datasheet HTML 93Page - STMicroelectronics M58PR256J Datasheet HTML 94Page - STMicroelectronics M58PR256J Datasheet HTML 95Page - STMicroelectronics M58PR256J Datasheet HTML 96Page - STMicroelectronics M58PR256J Datasheet HTML 97Page - STMicroelectronics M58PR256J Datasheet HTML 98Page - STMicroelectronics M58PR256J Datasheet HTML 99Page - STMicroelectronics M58PR256J Datasheet HTML 100Page - STMicroelectronics M58PR256J Datasheet HTML 101Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 114 page
background image
M58PR256J, M58PR512J
Flowcharts and pseudo codes
97/114
Appendix C
Flowcharts and pseudo codes
Figure 20.
Program and EFA Block Program flowchart and pseudo code
1.
Any address within the 'A' segment halves (A3=0) in a 1KByte Program Region configured in the Control Program Mode.
If a Program Command is issued to a Program Region configured in the Object Program Mode, SR4 and SR8 are set.
2.
Status check of SR1 (Protected Block), SR3 (VPP Invalid) and SR4 (Program Error) can be made after each program
operation or after a sequence.
3.
If an error is found, the Status Register must be cleared before further Program/Erase Controller operations.
Write 41h (Main Array)
or 44h (EFA) (1)
AI10515
Start
Write Address
& Data
Read Status
Register (3)
YES
NO
SR7 = 1
YES
NO
SR3 = 0
NO
SR4 = 0
VPP Invalid
Error (2, 3)
Program
Error (2, 3)
program_command (addressToProgram, dataToProgram)
/* EFA_program_command (addressToProgram, dataToProgram) */
{
writeToFlash (addressToProgram, 0x41);
/*writeToFlash (addressToProgram, 0x44);*/
/* 41h is the command for program array, while 44h
is the command for program EFA block */
/*see note (1)*/
do {
status_register=readFlash (addressToProgram);
/* see note (3)*/
/* E or G must be toggled*/
} while (status_register.SR7== 0) ;
if (status_register.SR3==1) /*VPP invalid error */
error_handler ( ) ;
YES
End
YES
NO
SR1 = 0
Program to Protected
Block Error (2, 3)
writeToFlash (addressToProgram, dataToProgram) ;
/*Memory enters read status state after
the Program Command*/
if (status_register.SR4==1) /*program error */
error_handler ( ) ;
if (status_register.SR1==1) /*program to protect block error */
error_handler ( ) ;
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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