Support for SD card addition by wince

Source: Internet
Author: User

========================================================== ==================================

Title: Support for SD card addition by wince

Abstract:

Note: Windows CE 5.0

Date: 2010.5.5

Name: Zhu minglei

========================================================== ==================================

The drivers and components to be added are as follows:

① Device Drivers | SDIO | SD Memory

② Device Drivers | SDIO Host | Samsung 2410 SDIO Host

③ Core OS | Windows CE devices | File Systems and Data Store | Storage Manager | FAT File System

Add a FAT file system to read and write the SD card.

The Registry content related to the SD card is as follows:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; SDIO

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[HKEY_LOCAL_MACHINE/Drivers/Builtin/SDBusDriver]

"Order" = dword: 20

"Dll" = "SDBusDriver. dll"

"Entry" = "SDBusDriverStartUp"

 

[HKEY_LOCAL_MACHINE/Drivers/SDCARD/SDBusDriver]

"Order" = dword: 20

"Dll" = "SDBusDriver. dll"

"Prefix" = "SDC"

"ThreadPriority" = dword: 64; default thread priority for dispatch thread

"RequestListDepth" = dword: 30; pre-allocated requests

; "ZoneMask" = dword: e01d; example zone mask

 

[HKEY_LOCAL_MACHINE/System/StorageManager/Profiles/SDMemory]

"Name" = "SD Memory Card"

"Folder" = "SDCard"; notears

; "PartitionDriver" = ""; removable storage cannot have partitions

 

; SD Memory Storage class driver

[HKEY_LOCAL_MACHINE/Drivers/SDCARD/ClientDrivers/Class/SDMemory_Class]

"Dll" = "SDMemory. dll"

"Prefix" = "DSK"

"FSD" = "fatfs. dll"

"IOCTL" = DWORD: 4; disk_ioctl_initialize, sent to driver by devicemanager

"Blocktransfersize" = DWORD: 40; send no more than 64 blocks of data per bus transfer

; "Singleblockwrites" = DWORD: 1; alternatively force the driver to use single block access

 

"Profile" = "sdmemory"

"Iclass" = multi_sz: "{A4E7EDDA-E575-4252-9D6B-4195D48BB865 }",

"{A32942B7-920C-486b-B0E6-92A702A99B35 }"

; MMC Storage Class Driver

[HKEY_LOCAL_MACHINE/Drivers/SDCARD/ClientDrivers/Class/MMC_Class]

"Dll" = "SDMemory. dll"

; "Prefix" = "SMC"

"Prefix" = "DSK"

"FSD" = "FATFS. DLL"

"IOCTL" = dword: 4; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager

"BlockTransferSize" = dword: 40; Send no more than 64 blocks of data per bus transfer

; "SingleBlockWrites" = dword: 1; alternatively force the driver to use single block access

 

"Profile" = "MMC"

"IClass" = multi_sz: "{A4E7EDDA-E575-4252-9D6B-4195D48BB865 }",

"{A32942B7-920C-486b-B0E6-92A702A99B35 }"

 

; Setting for SD bus driver to load driver

[HKEY_LOCAL_MACHINE/Drivers/SDCARD/HostControllers/SDSC]

"Dll" = "SDCSDCard. dll"

"Prefix" = "SDC"

Modify the name of the SD card drive to SDCard:

[HKEY_LOCAL_MACHINE/System/StorageManager/Profiles/SDMemory]

"Folder" = "SDCard"; notears

Copy Files first, then Sysgen system, re-burn NK, start the system, plug in the SD card to test it,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.