[Efsl-devel] Re: EFSL 0.2.2 speeding it up
Brought to you by:
flecxie,
lennartyseboodt
|
From: Lennart Y. <le...@be...> - 2005-10-11 10:37:05
|
Yes you are Gregory, That's the correct place to implement such a thing :) You can send the changes to me or the mailinglist, in one of the next releases your code will be incorporated and your name added to the credits ;) Regards, Lennart On Tue, 11 Oct 2005 12:20:03 +0200 "Gregory Pereira" <gpe...@gr...> wrote: > Hi, > > i see that if_writeBuf calls the sd_writeSector with a buffer. > > As i see it the sd_writeSector function will have to change in order to > do the buffering. > > Currently i sends a write command for every 512 bytes. With buffering > it will send a command for a larger buffer than 512 (a few blocks). > > Am i heading in the right direction? > > Greg > > >>> Lennart Yseboodt <le...@be...> 2005/10/11 11:51:09 AM >>> > On Tue, 11 Oct 2005, Gregory Pereira wrote: > > > Hi Lennard, > > > > i tested your code and it works fine. > > > > Currently i am getting max 100KBytes per second with cache on and > other > > optimisations. > > > > I read in the datasheets that the SD card has got its own buffering > > mechanism. > > > > How easy will it be to implement this on the EFSL? > > A write back cache implemented at the if_interface level will > take care of that. You can do that in a couple of hours :) > > > > > Regards > > Greg > > > > > > > -- You know that feeling when you're leaning back on a stool and it starts to tip over? Well, that's how I feel all the time. -- Steven Wright |