Henrik
Tue Jun 12 14:23:02 CDT 2007
Remove all [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
keys and under [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers
\Mass_Storage_Class], change "DeviceName"=3D"MsFlash" to
"DeviceName"=3D"DSK4:".
Henrik Viklund
http://www.addlogic.se
On Jun 12, 3:50 pm, "zhoumc" <zho...@hotmail.com> wrote:
> Thanks!
>
> 1 . Following is for nand flash:
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
> "Profile"=3D"MSFlash"
> "IClass"=3Dmulti_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
> "Order"=3Ddword:0
> "FriendlyName"=3D"MSFLASH Driver"
> "Dll"=3D"smflash.dll"
> "Prefix"=3D"DSK"
> "Index"=3Ddword:4
> ; "Flags"=3Ddword:1000
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
> "DriverPath"=3D"Drivers\\BuiltIn\\MSFlash"
> ; LoadFlags 0x01 =3D=3D load synchronously
> "LoadFlags"=3Ddword:1
> "Order"=3Ddword:0
> "BootPhase"=3Ddword:0
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
> "DefaultFileSystem"=3D"FATFS"
> "PartitionDriver"=3D"mspart.dll"
> "Folder"=3D"Flash Disk"
> "Name"=3D"FLASH Disk Block Device"
>
> ; "Ioctl"=3Ddword:4
> "AutoFormat"=3Ddword:1
> "AutoMount"=3Ddword:1
> "AutoPart"=3Ddword:1
> ;"MountFlags"=3Ddword:11
> ;"BootPhase"=3Ddword:0
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
>
> "FriendlyName"=3D"FAT FileSystem"
> "Dll"=3D"fatfsd.dll"
> ; "Flags"=3Ddword:00000006
> "Flags"=3Ddword:00000036
> "Paging"=3Ddword:0
> "EnableCache"=3Ddword:0
> "CacheSize"=3Ddword:0
> "Util"=3D"fatutil.dll"
> ;"CacheDll"=3D"diskcache.dll"
>
> 2 . Following is for USB MASS FUNCTION
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
> "DefaultClientDriver"=3D- ; erase previous default
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
> "DefaultClientDriver"=3D"Mass_Storage_Class"
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
> "Dll"=3D"usbmsfn.dll"
> "InterfaceSubClass"=3Ddword:06
> "InterfaceProtocol"=3Ddword:50
> "DeviceName"=3D"MsFlash"
> ; "Removable"=3Ddword:0
> "FriendlyName"=3D"Mass Storage"
> ; idVendor must be changed. 045E belongs to Microsoft and is only to be u=
sed
> for
> ; prototype devices in your labs. Visit
http://www.usb.orgto obtain a
> vendor id.
> "idVendor"=3Ddword:0726
> "Manufacturer"=3D"Generic Manufacturer (PROTOTYPE--Remember to change
> idVendor)"
> "idProduct"=3Ddword:C3C8
> "Product"=3D"Generic Mass Storage (PROTOTYPE--Remember to change idVen=
dor)"
> "bcdDevice"=3Ddword:0
>
> "Henrik Viklund" <henrik.vikl...@gmail.com>
> wrote:1181584340.645861.257...@c77g2000hse.googlegroups.com...
> Show us the registry settings for the nand flash you want to exose as
> MSD.
>
> Henrik Viklund
http://www.addlogic.se
>
> On Jun 11, 4:04 pm, "zhoumc" <zho...@hotmail.com> wrote:
>
>
>
> > It sames nobody could help me...
>
> > "zhoumc" <zho...@hotmail.com> wrote:
> > >I only made one part On the Nand flash , and the part is a PART_DOS32
> > >part,
> > >and all application programs are on that part. Can I make this part for
> > >USB
> > >MASS Storage?
>
> > > "zhoumc" <zho...@hotmail.com> wrote:
> > >> yes , I have set "DefaultClientDriver"=3D"Mass_Storage_Class". and w=
hen I
> > >> insert the usb line , I can see a little icon showed on the PC taskb=
ar
> > >> tray just like other USB mass device, but never saw the disk name in
> > >> the
> > >> explorer.
>
> > >> "Ashutosh Zade" <www.applieddata.net>
> > >> wrote:uhreoqRqHHA.1...@TK2MSFTNGP06.phx.gbl...
> > >>>> Has anybody ever succeeded to make the nand flash as usb mass
> > >>>> storage?
> > >>> Yes
>
> > >>> I am not sure which document you are referring to but you also need=
to
> > >>> change the default client driver. Have you done that?
> > >>> See this document for CE 5.00 -
> > >>> ms-help://MS.WindowsCE.500/wceddk5/html/wce50grfusbmassstorageclass=
driverre=AD=ADgistrysettings.htm
>
> > >>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
> > >>> "DefaultClientDriver"=3D- ; erase previous default
> > >>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
> > >>> "DefaultClientDriver"=3D"Mass_Storage_Class"
>
> > >>> --
> > >>> Ashutosh Zade
> > >>> Applied Data Systems
> > >>>www.applieddata.net
> > >>> Microsoft WEP Gold-Level Member
>
> > >>> "zhoumc" <zho...@hotmail.com> wrote in message
> > >>>news:%23e5IGXRqHHA.5092@TK2MSFTNGP04.phx.gbl...
> > >>>> Has anybody ever succeeded to make the nand flash as usb mass
> > >>>> storage?
> > >>>> According to the document, we need to set following REG items:
>
> > >>>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
> > >>>> "Dll"=3D"usbmsfn.dll"
> > >>>> "Vendor"=3Ddword:17CC
> > >>>> "Product"=3Ddword:2280
> > >>>> "InterfaceSubClass"=3Ddword:06
> > >>>> "InterfaceProtocol"=3Ddword:50
> > >>>> "DeviceName"=3D"DSK1:"
> > >>>> "Removable"=3Ddword:0
>
> > >>>> The key operation is to change the "DeviceName"=3D"DSK1:"
> > >>>> I have tried to change the DeviceName, such as "DSK1" , "MSFLASH"
> > >>>> etc,
> > >>>> but not succeed yet!
>
> > >>>> Is there anyone succeed? (CE5 , S3C2440 BSP)- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -