<ul><li>Matsushita, SanDisk and Toshiba Corporation announced the creation of the  SD Card Association   to promote SD car...
<ul><li>There’s a more advanced type of SD card that provides support for those and other types of devices. It’s called SD...
SDIO Digital Camera SDIO GPS
<ul><li>clock speed of 0 to 25 megahertz (MHz). </li></ul><ul><li>Read/Write rate up to 10MB/sec in 4 bit mode. </li></ul>...
<ul><li>High Capacity Cards and High Speed Mode. </li></ul><ul><li>As per SD 2.0 protocol, it supports 4GB to 32GB. </li><...
User Application Client Driver CE Bus Driver (Sdbus.dll) SD/SDIO Host Controller (sdhc_sirius.dll) Hardware-independent ab...
<ul><li>slot capabilities </li></ul><ul><li>including maximum clock rate </li></ul><ul><li>acceptable voltage windows </li...
<ul><li>The bus driver is an abstraction and management layer between a client driver and the host controller driver. </li...
<ul><li>Source code for the SD bus can be found in the following directories: </li></ul><ul><li>SD 1.1 bus - %_WINCEROOT%P...
<ul><li>plug and play information read from the SD card </li></ul><ul><li>client driver is a streams driver that implement...
<ul><li>Card detection Interrupt comes Bus driver is notified by calling </li></ul><ul><li>SDHCDIndicateSlotStateChange(pH...
<ul><li>; SD Memory Storage class driver </li></ul><ul><li>[HKEY_LOCAL_MACHINEDriversSDCARDClientDriversClassSDMemory_Clas...
<ul><li>Platform Builder Documentation </li></ul><ul><li>MSDN Newsgroups </li></ul><ul><li>WikiPedia </li></ul><ul><li>SDI...
Upcoming SlideShare
Loading in …5
×

Sd Card WCE Driver Architecture

3,704 views

Published on

Published in: Technology, Education
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
3,704
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
0
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Sd Card WCE Driver Architecture

  1. 2. <ul><li>Matsushita, SanDisk and Toshiba Corporation announced the creation of the SD Card Association to promote SD cards. </li></ul><ul><li>widely used in digital cameras , handheld computers , PDAs , mobile phones . </li></ul><ul><li>Portable, low power consumption, non-volatile memory </li></ul>
  2. 3. <ul><li>There’s a more advanced type of SD card that provides support for those and other types of devices. It’s called SDIO, short for Secure Digital Input Output </li></ul><ul><li>SDIO cards are fully compatible with SD Memory Card host controller. </li></ul><ul><li>SDIO card is inserted into a non SDIO-aware host, it will cause no physical damage or disruption to device or host controller </li></ul>
  3. 4. SDIO Digital Camera SDIO GPS
  4. 5. <ul><li>clock speed of 0 to 25 megahertz (MHz). </li></ul><ul><li>Read/Write rate up to 10MB/sec in 4 bit mode. </li></ul><ul><li>Windows Embedded CE 6.0 and 5.0 bus driver supports SD protocol 1.1 </li></ul><ul><li>Supports storage upto 2GB </li></ul>
  5. 6. <ul><li>High Capacity Cards and High Speed Mode. </li></ul><ul><li>As per SD 2.0 protocol, it supports 4GB to 32GB. </li></ul><ul><li>It allows clock rate up to 50 MHz. </li></ul><ul><li>Read/Write rate up to 25MB/sec in 4-bit mode. </li></ul><ul><li>  Windows Embedded CE 6.0 R2 and 5.0(with QFE) bus driver supports SD protocol 2.0 </li></ul>
  6. 7. User Application Client Driver CE Bus Driver (Sdbus.dll) SD/SDIO Host Controller (sdhc_sirius.dll) Hardware-independent abstraction (serialize access to host controller) SD/SDIO client Hardware-dependent SDHC driver SD/SDIO card File System, Web Browser Host CPU PXA270
  7. 8. <ul><li>slot capabilities </li></ul><ul><li>including maximum clock rate </li></ul><ul><li>acceptable voltage windows </li></ul><ul><li>SD data bus width </li></ul><ul><li>power up delay </li></ul><ul><li>responsible for registering the capabilities of a slot to the bus driver </li></ul><ul><li>Handling of card detect interrupt, SD Host controller dedicated interrupt. </li></ul>
  8. 9. <ul><li>The bus driver is an abstraction and management layer between a client driver and the host controller driver. </li></ul><ul><li>Provides Standard API’s </li></ul><ul><li>No changes are necessary to migrate the bus driver between processors. </li></ul><ul><li>Functions such as client driver loading and unloading, SD Card interrogation and identification, client driver bus requests, and I/O cancellation. </li></ul>
  9. 10. <ul><li>Source code for the SD bus can be found in the following directories: </li></ul><ul><li>SD 1.1 bus - %_WINCEROOT%PublicCommonOAKDriversSDCardSDBusdriver </li></ul><ul><li>SD 2.0 bus - %_WINCEROOT%PublicCommonOAKDriversSDCardSDBus </li></ul>
  10. 11. <ul><li>plug and play information read from the SD card </li></ul><ul><li>client driver is a streams driver that implements the standard streams entry points </li></ul><ul><li>issue commands to a card synchronously or asynchronously </li></ul>
  11. 12. <ul><li>Card detection Interrupt comes Bus driver is notified by calling </li></ul><ul><li>SDHCDIndicateSlotStateChange(pHCContext, 0, DeviceInserted ); from HCD. </li></ul><ul><li>Bus Driver will start Card Identification process. </li></ul><ul><li>First Command CMD5 </li></ul><ul><li>Bus Driver sends further commands like CMD0, CMD1, ACMD41, CMD2, CMD3, CMD7, ACMD51, ACMD42, CMD6. </li></ul><ul><li>SD Bus driver loads the Client Driver by looking into (HKLMDriversSDCARDClientDrivers) (i.e.)SDMemory.dll </li></ul><ul><li>Inform to the Storage Manager to mount this device. </li></ul><ul><li>FSD reads first sector present on the card. Mount the Storage card. </li></ul>Response Card Type RSP_TIMEOUT Memory Card RSP_DONE IO card
  12. 13. <ul><li>; SD Memory Storage class driver </li></ul><ul><li>[HKEY_LOCAL_MACHINEDriversSDCARDClientDriversClassSDMemory_Class] </li></ul><ul><li>&quot;Dll&quot;=&quot;SDMemory.dll&quot; </li></ul><ul><li>&quot;Prefix&quot;=&quot;DSK&quot; </li></ul><ul><li>&quot;BlockTransferSize&quot;=dword:40 ; send no more than 64 blocks of data per bus transfer </li></ul><ul><li>&quot;Profile&quot;=&quot;SDMemory&quot; </li></ul><ul><li>&quot;IClass&quot;=multi_sz:&quot;{A4E7EDDA-E575-4252-9D6B-4195D48BB865}&quot;, </li></ul><ul><li>&quot;{A32942B7-920C-486b-B0E6-92A702A99B35}” </li></ul>
  13. 14. <ul><li>Platform Builder Documentation </li></ul><ul><li>MSDN Newsgroups </li></ul><ul><li>WikiPedia </li></ul><ul><li>SDIO Spec 1.1 </li></ul><ul><li>SD Memory Spec 1.1 </li></ul>

×