Re: SD card driver development.

Tech-Archive recommends: Fix windows errors by optimizing your registry



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: [patch 2.6.14-git] SPI core, refresh
    ... than the SPI device's driver. ... the controller driver is still free to apply heuristics ... If you find the kerneldoc unclear, ...
    (Linux-Kernel)
  • Re: Initialize hardware for SD card
    ... Henrik Viklund wrote: ... obvious that the sdhc driver needs to be a dll and that it needs to be ... when i clone SDIO SD host controller driver from my catalog i have got ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [spi-devel-general] Re: SPI
    ... a single working driver cannot disapprove anything. ... your latest core should be working on the problematic target as ... should be implemented in controller driver in your case. ... And putting a requirement on the upper level driver to always do GFP_DMA ...
    (Linux-Kernel)
  • Re: USB host controller and client driver
    ... you diferentiate b/w Client driver and function drivers. ... If we start with USB host. ... The host controller driver is loaded at ...
    (microsoft.public.windowsce.platbuilder)
  • Re: inter driver communication
    ... i wrote a USB function controller driver and i have developed a stream ... interface driver which will dyanamically going to load the USB function ... if any line interrupt comes then the stream interface driver which only do ...
    (microsoft.public.windowsce.platbuilder)