Hi
We had developed an device, that uses a subset of SD/MMC commands, and
are now in the process of writing the device driver for it in winCE
5.0. Now in the SDcardDDK there are only 4 types of devices whose
functionality is ported
// enum for device type
typedef enum _SDCARD_DEVICE_TYPE {
Device_Unknown = 0,
Device_MMC = 1,
Device_SD_Memory = 2,
Device_SD_IO = 3,
Device_SD_Combo = 4 // combo is only an intermediate device type
reserved only for the bus driver
}SDCARD_DEVICE_TYPE, *PSDCARD_DEVICE_TYPE;
I had read in many articles and the winCE help that usually the bus
driver is not touched and only the HOST controller driver or client
driver are modified according to the device requirements. Now I want
to add a fifth type of device, and hence change the implementation of
the SD Bus driver to accommodate my specific device type. Also our
device can support a large sized card. i.e 32 bit addresses wont cut
it for us. Which means that the Bus driver as well as the SDCardDDK
will have to be modified.
Now what is confusing me is how to package the modified bus driver.
The packaging of the client driver and HC driver is straightforward.
But for the SD bus driver, should i create a new msi installer, which
will patch the original SD bus driver code and appropriate header
files, or should I create a completely new catalog item (e.g
SDModifiedBus driver) with a separate source folder.
I want to know if anyone has any experience of changing the bus driver
according to their needs. and if yes how was it packaged in the form
of a catalog item or msi Installer.
Thanks
Mutahir Latif