how to promote flash speed



hi all,
I use Nor flash for a Disk,but write flash speed is so slow.
How Can I promote my flash write speed?The following code for
writing flash sample code.

DWORD IntelL18FlashBufferedProgramBlock(volatile DWORD *pBlock, DWORD* data,
DWORD Len,PDISK pDisk)
{
DWORD i,j,k, reallen;

reallen=Len /128;
k=0;
for (i=0;i<reallen;i++)
{
do
{
pBlock[k]=iL18_BUFFER_PROGRAM;
}
while (!((pBlock[k]& iL18_SRReady) == iL18_SRReady));

pBlock[k]=iL18_BUFFER_PROGRAM_MAX;
for (j=0;j<32;j++)
{
pBlock[k]=data[k];
k++;
}
pBlock[k-32]=iL18_BUFFER_PROGRAM_CONFIRM;
while (!((pBlock[k-32]& iL18_SRReady) == iL18_SRReady));
}

return pBlock[k-32];
}


.



Relevant Pages

  • Re: Help
    ... DWORD dwDesiredAccess, ... Create custom function and new driver ... Read or Write using low level function for your flash ...
    (microsoft.public.windowsce.platbuilder)
  • Re: small GUI for laptop
    ... ThinFlash: Linux thin-client on USB key drive ... BashDiff: Super Bash shell ... Prev by Date: ...
    (alt.os.linux.suse)
  • Re: Suche: Kurzfilm
    ... HTH ... Roman ... Prev by Date: ...
    (de.rec.film.misc)
  • Re: how to promote flash speed
    ... Writes to NOR flash is typically slowed down by *ERASE*, ... Applied Data Systems ... > DWORD IntelL18FlashBufferedProgramBlock(volatile DWORD *pBlock, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Convertire filmati in Real Video
    ... Hmmm, Flash? ... Alex ... Prev by Date: ...
    (it.comp.macintosh)