Re: Copying bigger files from SD card is not happening by Seung
Seung
Thu Apr 01 12:15:41 CST 2004
There are a myriad of problems that could be happening. What SD =
controller are you using? Are you operating in SPI or SD native mode ( =
1 =
or 4 bits?)? You may want to adjust your controller's read-data timeou=
t =
value. This may be on the edge and not long enough for the other card =
under certain circumstances. Because there is a microprocessor on the =
other end managing the flash array it may at times requires additional =
processing time that may be exceeding the current read data timeout =
value. Another way to alleviate this is to do fewer blocks in a =
multiblock transfer (break up the whole transfer into smaller multi-bloc=
k =
requests). Maybe there is a bug in the controller that overflows some =
counter if you send a single read request with a lot of blocks in it?
On Wed, 31 Mar 2004 17:51:10 -0800, Prasanna Kumar =
<anonymous@discussions.microsoft.com> wrote:
> Hi All,
> I am using PB 4.2.
>
> I am using a 64MB Sandisk SD card (uses 8 bit CISC controller within =
> the card)
> I am not able to copy files above 13 MB from SD card to desktop using =
> active sync.
>
> In the receive part of code, we are checking status register to ensure=
=
> data is ready in FIFO.
> Then, I am copying data from FIFO. The above operations(check status r=
eg =
> and copy from FIFO) happens
> in a loop until we copy everything (whole size). While file copy =
> reaches 13 MB, status register gives
> "RECEIVE TIMEOUT" .
>
> The above issue happens with this particular card only.
> I have one more Sandisk card (uses 32 bit RISC controller within the =
> card). Using this card I can copy the files as big as possible. This i=
s =
> consistently happening.
>
> Any solution ?
>
> Thanks
> Prasanna
-- =
Seung Yi
Chief Technologist
Codetelligence, Inc.
Web : www.codetelligence.com