how to promote flash speed
- From: "make" <shihk_sh@xxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 14:09:33 +0800
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];
}
.
- Follow-Ups:
- Re: how to promote flash speed
- From: Bruce Eitman \(eMVP\)
- Re: how to promote flash speed
- Prev by Date: How can I locate my custom loader codes in the first 4kb of eboot.
- Next by Date: Re: Persistent Registry on Onboard Flash
- Previous by thread: How can I locate my custom loader codes in the first 4kb of eboot.
- Next by thread: Re: how to promote flash speed
- Index(es):
Relevant Pages
|
|