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 reg 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 is consistently happening

Any solution

Thank
Prasanna

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

Re: Copying bigger files from SD card is not happening by anonymous

anonymous
Thu Apr 01 13:36:13 CST 2004

Thanks Seung Yi

I am using 1-bit mode as I am not using DMA. This is my requirement..

can I try increasing read-data timeout value ? Is that possible

Thanks and regard
Prasanna

Re: Copying bigger files from SD card is not happening by sschrock

sschrock
Wed Apr 21 13:17:40 CDT 2004

What SD controller are you using?

Can you successfully copy file without using ActiveSync, say, to the
release directory or object store?

--
Steve Schrock
Windows CE Device Drivers

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: Copying bigger files from SD card is not happening
| thread-index: AcQYIJdeIPJ5ouA5SKOwj/b8dIZRzQ==
| X-Tomcat-NG: microsoft.public.windowsce.platbuilder
| From: "=?Utf-8?B?UHJhc2FubmEgS3VtYXI=?="
<anonymous@discussions.microsoft.com>
| References: <C85216D6-5889-49CA-A4AB-11D6631A16B1@microsoft.com>
<opr5sicfjvswt9p6@localhost>
| Subject: Re: Copying bigger files from SD card is not happening
| Date: Thu, 1 Apr 2004 11:36:13 -0800
| Lines: 8
| Message-ID: <5F8BD53F-E311-43DF-95BB-846B7FBCFE57@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.windowsce.platbuilder
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.platbuilder:47893
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.windowsce.platbuilder
|
| Thanks Seung Yi ,

I am using 1-bit mode as I am not using DMA. This is my requirement...

can I try increasing read-data timeout value ? Is that possible ?

Thanks and regards
Prasanna
|