M58WR032KU70ZA6U NUMONYX, M58WR032KU70ZA6U Datasheet - Page 114

no-image

M58WR032KU70ZA6U

Manufacturer Part Number
M58WR032KU70ZA6U
Description
NUMM58WR032KU70ZA6U NUM 32MB NOR FLASH P
Manufacturer
NUMONYX
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M58WR032KU70ZA6U
Manufacturer:
ST
0
Part Number:
M58WR032KU70ZA6U
Manufacturer:
ST
Quantity:
20 000
Flowcharts and pseudocodes
16.1
114/123
Enhanced Factory Program pseudocode
efp_command(addressFlow,dataFlow,n)
/* n is the number of data to be programmed */
{
}
/* setup phase */
writeToFlash(addressFlow[0],0x30);
writeToFlash(addressFlow[0],0xD0);
status_register=readFlash(any_address);
if (status_register.SR7==1){
}
else{
}
/*EFP aborted for an error*/
if (status_register.SR4==1) /*program error*/
if (status_register.SR3==1) /*VPP invalid error*/
if (status_register.SR1==1) /*program to protect block error*/
/*Program Phase*/
do{
} while (status_register.SR0==1)
/*Ready for first data*/
for (i=0; i++; i< n){
}
writeToFlash(another_block_address,FFFFh);
/* Verify Phase */
for (i=0; i++; i< n){
}
writeToFlash(another_block_address,FFFFh);
/* exit program phase */
/* Exit Phase */
/* status register polling */
do{
} while (status_register.SR7==0);
if (status_register.SR4==1) /*program failure error*/
if (status_register.SR3==1) /*VPP invalid error*/
if (status_register.SR1==1) /*program to protect block error*/
error_handler();
error_handler();
error_handler();
status_register=readFlash(any_address);
/* E or G must be toggled*/
writeToFlash(addressFlow[i],dataFlow[i]);
/* status register polling*/
do{
} while (status_register.SR0==1);
/* Ready for a new data */
writeToFlash(addressFlow[i],dataFlow[i]);
/* status register polling*/
do{
} while (status_register.SR0==1);
/* Ready for a new data */
status_register=readFlash(any_address);
/* E or G must be toggled */
error_handler();
error_handler();
error_handler();
status_register=readFlash(any_address);
/* E or G must be toggled*/
status_register=readFlash(any_address);
/* E or G must be toggled*/
M58WRxxxKU, M58WRxxxKL

Related parts for M58WR032KU70ZA6U