Re: SD card driver development.



thanks Henrik,
here i would like to know, how my card read and write operation is
done.
i have gone through the PXA27x code for SD card,i have not seen any
where the read/write operation for the same. whether i have to do any
modifications for Client driver to peform the same.
and also how my driver is loaded?
thanks,
seshu

Henrik Viklund wrote:
You need to read the docs and look at the sourcecode. It is practically
impossible to answer this kind of general question about such complex
architecture over a medium such as a usnet group.

Henrik Viklund
http:www.addlogic.se

seshucherukuri@xxxxxxxxx wrote:
Thanks Henrik.
here i would like to know how my host controller driver is
communicating with the bus and client drivers.
what all i need to do to achieve this target?

thanks,
seshu

Henrik Viklund wrote:
Read "Developing a Device Driver > Windows CE Drivers > Secure Digital
Card Drivers" in the PB5 help.

Check out "\WINCE500\public\common\oak\drivers\sdcard\" for the source
for the sd card related drivers and helper libs.

An example implementation sdhc driver:
"\WINCE500\PLATFORM\MAINSTONEII\src\drivers\sdhc\"

Henrik Viklund
http://www.addlogic.se

seshucheruk...@xxxxxxxxx wrote:
Thanks Henrik for the prompt reply.
i am very confused now.
as these days i have gone through the block driver architecture in
WinCE and prepared to start with the implementation of client drivers.
as i thought only the registry settings have to be changed in host
controller driver.

would you please give me some inputs from your side how to proceed with
my task.
as i am new to this driver development in Windows CE.
and present from where to start?
and if you suggest me to go through some documents for help it will be
a good thing.

thanks,
seshu

Henrik Viklund wrote:
As I said in the other post you normally only need to implement a host
controller driver that abstracts your hardware to the host controller
driver interface. This way you can utilize the bus and class drivers
that are provided with CE5.

Henrik Viklund
http://www.addlogic.se

seshu wrote:
Hi,
I am developing SD card driver for the ARM926EJS processor in winCE 5.0


here i am developing the client driver as a block driver.
can i consider this as an ATA type driver?
whether I have to develop the host controller driver and the bus driver
or not?


thanks,
seshu

.



Relevant Pages

  • Re: Sd card detect
    ... SDHCDRegisterHostController success only the card detection mechanism ... controller driver interface or i can write the same things in my ... Henrik Viklund wrote: ... obvious that the sdhc driver needs to be a dll and that it needs to be ...
    (microsoft.public.windowsce.platbuilder)
  • RE: [UPDATED PATCH] EFI support for ia32 kernels
    ... >> reuse a single driver image for multiple architectures assuming there ... As one of the people responsible for the EFI Specification and our ... Perhaps the UNDI network card interface that Intel developed ... BIOS can't shadow that much ROM code. ...
    (Linux-Kernel)
  • Re: Initialize hardware for SD card
    ... inserted the card in my development board. ... Henrik Viklund wrote: ... what it is -it's the MainstoneII board specific part of the driver! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Initialize hardware for SD card
    ... Henrik Viklund wrote: ... inserted the card in my development board. ... 0x86ba0d7c: PXA27X SDIO Driver: DEBUGCHK fa ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Initialize hardware for SD card
    ... Henrik Viklund wrote: ... inserted the card in my development board. ... SDH: +SDHC Initialization ... 0x86ba0d7c: PXA27X SDIO Driver: DEBUGCHK fa ...
    (microsoft.public.windowsce.platbuilder)