Discussion:
SD Card winCe 5.0 Device Driver Doubts
(too old to reply)
v***@yahoo.co.in
2008-02-02 11:27:53 UTC
Permalink
1)Hi all we are trying to write Wince 5.0 SD Card Device driver for
our ARM926EJ-S Board

2)For Our board interrrupt is not generated on insertion /removal of
SD card rather the details of card presence is stored in a
register .So here i had a doubt like can I use polling method instead
of waiting for interrupt for card insertion /removal event and then
inform bus driver using SDHCDIndicateSlotStateChange..

3) We have added following components from the catalog
a)SD Memory
b)FAT File System
so is there any other catalog components i need to add from catalog???

4) we have done following registry settings
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:15
"Dll"="SDBus.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for
dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=
%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
"MountAsRoot"=dword:1
"DefaultFileSystem"="FATFS"
"DisablePowerManagement"="1"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMemory]
"Order"=dword:17
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"


[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class
\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:64 ; Overwrite from default 64 blocks.
Send no more than 200=(100kB/0.5kB) blocks of data per bus transfer
"Profile"="SDMemory"
"FSD"="FATFS.DLL"
"IOCTL"=dword:00000004
"IClass"=multi_sz:"{A4E7EDDA-
E575-4252-9D6B-4195D48BB865}","{A32942B7-920C-486b-
B0E6-92A702A99B35}"



[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
"Dll" = "SDHC.Dll"
"Prefix" = "SDH"
"Order" = dword:0
"FriendlyName" = "SDHC Driver"
"Ioctl" = dword:0
"ControllerISTPriority"=dword:64
"Index"=dword:2

Are this registry settings enough or do i need to add few more entries

4) Also we were successful in card detection using polling method but
i am not getting where exactly or in which api of my pdd i need to
implement commands like block read and block write and also please let
me know which common driver code i need to use which can match even a
little to our ARM 926 EJ-S board.

Thanks a lot in advance..
Riddhi...
mixo miqava
2011-01-31 17:59:38 UTC
Permalink
hello, I installed tomtom on my binatone carrera x430 and it works ok but i can not save any address in favorites cus the tomtom is saving this info on SDcard, my SD card itself is not write protected but it is write protected through windows CE 5.0 under which the tomtom is running,
could you explain me how to remove SDcard write protection on Windows CE 5.0 ?
please don't suggest me to try different SD cards cus I already tried them a lot :)
please don't suggest me to format SD in different ways cus I already tried FAT FAT16 FAT32 .
it is definitely the thing has to be done from Windows CE 5.0, I don't really familiar with registers so I cant change any of them, could you please help me?
I see you are familiar with this kind of stuff
thank you in advance
Post by v***@yahoo.co.in
1)Hi all we are trying to write Wince 5.0 SD Card Device driver for
our ARM926EJ-S Board
2)For Our board interrrupt is not generated on insertion /removal of
SD card rather the details of card presence is stored in a
register .So here i had a doubt like can I use polling method instead
of waiting for interrupt for card insertion /removal event and then
inform bus driver using SDHCDIndicateSlotStateChange..
3) We have added following components from the catalog
a)SD Memory
b)FAT File System
so is there any other catalog components i need to add from catalog???
4) we have done following registry settings
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:15
"Dll"="SDBus.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for
dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=
%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
"MountAsRoot"=dword:1
"DefaultFileSystem"="FATFS"
"DisablePowerManagement"="1"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMemory]
"Order"=dword:17
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class
\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:64 ; Overwrite from default 64 blocks.
Send no more than 200=(100kB/0.5kB) blocks of data per bus transfer
"Profile"="SDMemory"
"FSD"="FATFS.DLL"
"IOCTL"=dword:00000004
"IClass"=multi_sz:"{A4E7EDDA-
E575-4252-9D6B-4195D48BB865}","{A32942B7-920C-486b-
B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
"Dll" = "SDHC.Dll"
"Prefix" = "SDH"
"Order" = dword:0
"FriendlyName" = "SDHC Driver"
"Ioctl" = dword:0
"ControllerISTPriority"=dword:64
"Index"=dword:2
Are this registry settings enough or do i need to add few more entries
4) Also we were successful in card detection using polling method but
i am not getting where exactly or in which api of my pdd i need to
implement commands like block read and block write and also please let
me know which common driver code i need to use which can match even a
little to our ARM 926 EJ-S board.
Thanks a lot in advance..
Riddhi...
Submitted via EggHeadCafe
SQL Server Best Practices
http://www.eggheadcafe.com/tutorials/aspnet/56efb426-550b-48cc-b52a-eca25b6cd427/sql-server-best-practices.aspx
mixo miqava
2011-01-31 18:02:08 UTC
Permalink
hello, I installed tomtom on my binatone carrera x430 and it works ok but i can not save any address in favorites cus the tomtom is saving this info on SDcard, my SD card itself is not write protected but it is write protected through windows CE 5.0 under which the tomtom is running,
could you explain me how to remove SDcard write protection on Windows CE 5.0 ?
please don't suggest me to try different SD cards cus I already tried them a lot :)
please don't suggest me to format SD in different ways cus I already tried FAT FAT16 FAT32 .
it is definitely the thing has to be done from Windows CE 5.0, I don't really familiar with registers so I cant change any of them, could you please help me?
I see you are familiar with this kind of stuff
thank you in advance
Post by v***@yahoo.co.in
1)Hi all we are trying to write Wince 5.0 SD Card Device driver for
our ARM926EJ-S Board
2)For Our board interrrupt is not generated on insertion /removal of
SD card rather the details of card presence is stored in a
register .So here i had a doubt like can I use polling method instead
of waiting for interrupt for card insertion /removal event and then
inform bus driver using SDHCDIndicateSlotStateChange..
3) We have added following components from the catalog
a)SD Memory
b)FAT File System
so is there any other catalog components i need to add from catalog???
4) we have done following registry settings
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:15
"Dll"="SDBus.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for
dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=
%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
"MountAsRoot"=dword:1
"DefaultFileSystem"="FATFS"
"DisablePowerManagement"="1"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMemory]
"Order"=dword:17
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class
\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:64 ; Overwrite from default 64 blocks.
Send no more than 200=(100kB/0.5kB) blocks of data per bus transfer
"Profile"="SDMemory"
"FSD"="FATFS.DLL"
"IOCTL"=dword:00000004
"IClass"=multi_sz:"{A4E7EDDA-
E575-4252-9D6B-4195D48BB865}","{A32942B7-920C-486b-
B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
"Dll" = "SDHC.Dll"
"Prefix" = "SDH"
"Order" = dword:0
"FriendlyName" = "SDHC Driver"
"Ioctl" = dword:0
"ControllerISTPriority"=dword:64
"Index"=dword:2
Are this registry settings enough or do i need to add few more entries
4) Also we were successful in card detection using polling method but
i am not getting where exactly or in which api of my pdd i need to
implement commands like block read and block write and also please let
me know which common driver code i need to use which can match even a
little to our ARM 926 EJ-S board.
Thanks a lot in advance..
Riddhi...
Post by mixo miqava
hello, I installed tomtom on my binatone carrera x430 and it works ok but i can not save any address in favorites cus the tomtom is saving this info on SDcard, my SD card itself is not write protected but it is write protected through windows CE 5.0 under which the tomtom is running,
could you explain me how to remove SDcard write protection on Windows CE 5.0 ?
please don't suggest me to try different SD cards cus I already tried them a lot :)
please don't suggest me to format SD in different ways cus I already tried FAT FAT16 FAT32 .
it is definitely the thing has to be done from Windows CE 5.0, I don't really familiar with registers so I cant change any of them, could you please help me?
I see you are familiar with this kind of stuff
thank you in advance
Submitted via EggHeadCafe
SQL Server Table Valued Parameters / Types - Multiple Row Inserts
http://www.eggheadcafe.com/tutorials/aspnet/1b4677b6-3be6-4b68-897f-e4829fa8f33b/sql-server-table-valued-parameters--types--multiple-row-inserts.aspx
mixo miqava
2011-01-31 18:03:27 UTC
Permalink
hello, I installed tomtom on my binatone carrera x430 and it works ok but i can not save any address in favorites cus the tomtom is saving this info on SDcard, my SD card itself is not write protected but it is write protected through windows CE 5.0 under which the tomtom is running,
could you explain me how to remove SDcard write protection on Windows CE 5.0 ?
please don't suggest me to try different SD cards cus I already tried them a lot :)
please don't suggest me to format SD in different ways cus I already tried FAT FAT16 FAT32 .
it is definitely the thing has to be done from Windows CE 5.0, I don't really familiar with registers so I cant change any of them, could you please help me?
I see you are familiar with this kind of stuff
thank you in advance
Post by v***@yahoo.co.in
1)Hi all we are trying to write Wince 5.0 SD Card Device driver for
our ARM926EJ-S Board
2)For Our board interrrupt is not generated on insertion /removal of
SD card rather the details of card presence is stored in a
register .So here i had a doubt like can I use polling method instead
of waiting for interrupt for card insertion /removal event and then
inform bus driver using SDHCDIndicateSlotStateChange..
3) We have added following components from the catalog
a)SD Memory
b)FAT File System
so is there any other catalog components i need to add from catalog???
4) we have done following registry settings
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:15
"Dll"="SDBus.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for
dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=
%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
"MountAsRoot"=dword:1
"DefaultFileSystem"="FATFS"
"DisablePowerManagement"="1"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDMemory]
"Order"=dword:17
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class
\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:64 ; Overwrite from default 64 blocks.
Send no more than 200=(100kB/0.5kB) blocks of data per bus transfer
"Profile"="SDMemory"
"FSD"="FATFS.DLL"
"IOCTL"=dword:00000004
"IClass"=multi_sz:"{A4E7EDDA-
E575-4252-9D6B-4195D48BB865}","{A32942B7-920C-486b-
B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
"Dll" = "SDHC.Dll"
"Prefix" = "SDH"
"Order" = dword:0
"FriendlyName" = "SDHC Driver"
"Ioctl" = dword:0
"ControllerISTPriority"=dword:64
"Index"=dword:2
Are this registry settings enough or do i need to add few more entries
4) Also we were successful in card detection using polling method but
i am not getting where exactly or in which api of my pdd i need to
implement commands like block read and block write and also please let
me know which common driver code i need to use which can match even a
little to our ARM 926 EJ-S board.
Thanks a lot in advance..
Riddhi...
Post by mixo miqava
hello, I installed tomtom on my binatone carrera x430 and it works ok but i can not save any address in favorites cus the tomtom is saving this info on SDcard, my SD card itself is not write protected but it is write protected through windows CE 5.0 under which the tomtom is running,
could you explain me how to remove SDcard write protection on Windows CE 5.0 ?
please don't suggest me to try different SD cards cus I already tried them a lot :)
please don't suggest me to format SD in different ways cus I already tried FAT FAT16 FAT32 .
it is definitely the thing has to be done from Windows CE 5.0, I don't really familiar with registers so I cant change any of them, could you please help me?
I see you are familiar with this kind of stuff
thank you in advance
Post by mixo miqava
hello, I installed tomtom on my binatone carrera x430 and it works ok but i can not save any address in favorites cus the tomtom is saving this info on SDcard, my SD card itself is not write protected but it is write protected through windows CE 5.0 under which the tomtom is running,
could you explain me how to remove SDcard write protection on Windows CE 5.0 ?
please don't suggest me to try different SD cards cus I already tried them a lot :)
please don't suggest me to format SD in different ways cus I already tried FAT FAT16 FAT32 .
it is definitely the thing has to be done from Windows CE 5.0, I don't really familiar with registers so I cant change any of them, could you please help me?
I see you are familiar with this kind of stuff
thank you in advance
Submitted via EggHeadCafe
Creating Google Motion Charts from Excel data
http://www.eggheadcafe.com/tutorials/aspnet/86599bca-edda-4204-af15-7a1cf901a071/creating-google-motion-charts-from-excel-data.aspx
Loading...