Your SlideShare is downloading. ×
Sd Card WCE Driver Architecture
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Sd Card WCE Driver Architecture

2,914
views

Published on

Published in: Technology, Education

1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
2,914
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
1
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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