Re: how to promote flash speed
- From: "Bruce Eitman \(eMVP\)" <beitmannospam@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 09:18:16 -0400
Writes to NOR flash is typically slowed down by *ERASE*, which you do not
show because that is probably in another function and called by the same
code which calls this function.
Optimizing the write time is a very specialized task. You may want to
consider consulting with a company who does this as their primary business,
like Datalight (www.datalight.com) They have special code for managing the
flash, not just the writes. By managing the flash, you can increase the
likelihood that you can write to previously erased flash, thus speeding up
the writes. But that means that sometimes the writes will be slow because
the erase must occur before the writes.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"make" <shihk_sh@xxxxxxxxxxx> wrote in message
news:u3WDKtUTFHA.3040@xxxxxxxxxxxxxxxxxxxxxxx
> 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];
> }
>
>
.
- References:
- how to promote flash speed
- From: make
- how to promote flash speed
- Prev by Date: Re: Why is there marvellous mistake in the process WinCE starting
- Next by Date: Re: Persistent Registry on Onboard Flash
- Previous by thread: how to promote flash speed
- Next by thread: Why is there marvellous mistake in the process WinCE starting
- Index(es):
Relevant Pages
|
|