Re: SDSynchronousBusRequest taking long time
- From: Advait <Advait@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Oct 2007 05:32:01 -0700
Sorry I was not aware that I could taget multiple groups in "to" field.
Can you suggest me how to go through the debugger? The code runs on a
Windows Mobile device. Currently I am debugging by writing to a file. I
thought SDSynchronousBusRequest is a call in a library provided by Microsoft.
How can I step through? I am new to Platform builder.
Thanks for your help.
"voidcoder" wrote:
.
Why not just step in debugger and see where
it spends so much time?
Also separate cross posting is evil. List all
target groups in "to" field if you want to post
to multiple groups.
--
Oleg
Advait wrote:
Hi,
From the SDIO driver we get from Arasan they use SDSynchronousBusRequest()
to issue a bus request to their chip.
We timestamp before and after calling this API, and it takes > 230ms. Why it
takes so long and how can we make it
much faster? The following are the code sample:
SDSynchronousBusRequest(pDevice->hDevice,
SD_CMD_IO_RW_EXTENDED,
argument,
SD_WRITE,
ResponseR5,
&response,
1,
blockLength ,
pBuffer,
0);
where:
argument = BUILD_IO_RW_EXTENDED_ARG(SD_IO_OP_WRITE,
SD_IO_BLOCK_MODE,
pDevice->Function,
wAddress,
SD_IO_FIXED_ADDRESS,
1);
SD_COMMAND_RESPONSE response
Your kind responses are greatly appreciated.
- Follow-Ups:
- Re: SDSynchronousBusRequest taking long time
- From: voidcoder
- Re: SDSynchronousBusRequest taking long time
- References:
- Re: SDSynchronousBusRequest taking long time
- From: voidcoder
- Re: SDSynchronousBusRequest taking long time
- Prev by Date: Re: SDSynchronousBusRequest taking long time
- Next by Date: 24bpp Display Driver
- Previous by thread: Re: SDSynchronousBusRequest taking long time
- Next by thread: Re: SDSynchronousBusRequest taking long time
- Index(es):